Also, you use accusative to mean motion towards something(kind of like Russian) and dative when you're at or in something. Of course, some prepositions, like zu and von, take the dative exclusively.