Used for the subject of the sentence - the person or thing performing the action.
In this sentence:
Used for the direct object - the person or thing receiving the action.
Common accusative prepositions: durch, für, gegen, ohne, um
In this sentence:
Used for the indirect object - the recipient of the direct object or action.
Common dative prepositions: aus, bei, mit, nach, seit, von, zu
In this sentence:
Used to show possession or belonging.
Common genitive prepositions: während, wegen, trotz
In this sentence: