Image: Zürich, ZH, Switzerland
A preposition is a word used to establish relationships between nouns, between nouns and verbs and between different parts of a sentence. Prepositions usually have spatial or temporal meanings (e.g. beneath, between, in front of, before, after, during, etc). Prepositions are invariable, that is, they have one form.
EXCEPT for à and de, which contract with the definite articles (le, la, les). For example, à + le=au de + les=les.
Translating prepositions is tricky.
Never assume that French will use the same preposition as English to express a particular meaning.
There are many cases where one language requires a preposition where the other does not. This is particularly problematic with infinitives followed by prepositions.
In general, it is best to treat prepositions as vocabulary items requiring memorization.
In the following sentences, these problems are demonstrated by translating the French prepositions literally. Note how awkward the English translation is as a result.
Literal translations are also awkward in situations where a preposition is not used in French but is required in English.
So you can see that you need to memorize prepositions and how they are used in French.