The nine German prepositions (in, an, auf, über, unter, vor, hinter, neben, zwischen) that take the accusative for movement (wohin?) and the dative for location (wo?).
Wo?
Where? (location, takes the dative)
Wohin?
Where to? (movement, takes the accusative)
in
in, into
an
at, on (a vertical surface or an edge)
auf
on (a horizontal surface)
über
over, above
unter
under, below
vor
in front of
hinter
behind
neben
next to
zwischen
between
Ich bin im Kino.
I'm at the cinema. (im = in dem, dative: location)
Ich gehe ins Kino.
I'm going to the cinema. (ins = in das, accusative: movement)
Das Buch liegt auf dem Tisch.
The book is lying on the table. (dative)
Ich lege das Buch auf den Tisch.
I put the book on the table. (accusative)
Das Bild hängt an der Wand.
The picture is hanging on the wall. (dative)
Ich hänge das Bild an die Wand.
I hang the picture on the wall. (accusative)
Die Katze schläft unter dem Bett.
The cat is sleeping under the bed.
Die Katze läuft unter das Bett.
The cat runs under the bed.
Das Auto steht vor dem Haus.
The car is parked in front of the house.
Ich fahre das Auto vor das Haus.
I drive the car in front of the house.
Die Lampe hängt über dem Tisch.
The lamp hangs above the table.
Er setzt sich neben mich.
He sits down next to me. (accusative)
Er sitzt neben mir.
He is sitting next to me. (dative)
Der Garten ist hinter dem Haus.
The garden is behind the house.
zwischen den Bäumen
between the trees (dative plural)
liegen / legen
to lie (dative) / to lay, put flat (accusative)
stehen / stellen
to stand (dative) / to stand something up (accusative)
sitzen / setzen
to sit (dative) / to sit down, set (accusative)
hängen / hängen
to hang, be hanging (dative) / to hang something (accusative)
Wo ist das Glas? Im Schrank.
Where is the glass? In the cupboard.
Wohin stellst du das Glas? In den Schrank.
Where are you putting the glass? In the cupboard.
am = an dem
at the (dative contraction)
ans = an das
to the (accusative contraction)
Wir fahren ans Meer.
We're going to the seaside.
Wir sind am Meer.
We're at the seaside.
Wir gehen in die Stadt.
We're going into town.
Wir sind in der Stadt.
We're in town.
Ich warte vor der Tür.
I'm waiting in front of the door.
vor einer Woche
a week ago (time: always dative)