What is a preposition?
A preposition is a word that tells you where or when something is in relation to something else.
Examples of prepositions include words like after, before, on, under, inside and outside.
After walking for miles she rested on a hill.
In this sentence 'after' tells you when she rested and 'on' tells you where she rested.