In German there are four cases: nominative, accusative, dative and genitive.
Nouns (and related words) are declined – that means they change their form according to the case. The four cases indicate the role that the noun/noun phrase has in the sentence.