The dative case
The dative case shows the indirect object in a sentence. In English, you would often find a preposition like by, with or for in front of a noun which is used as an indirect object in a sentence, but not necessarily. Indirect objects are the persons or thing with whom, to whom or for whom the action is being done.
I gave the dog a biscuit.
If we didnt have a certain world knowledge that tells us that we hardly ever give dogs to biscuits and rather give biscuits to dogs, we couldnt tell from the form of the nouns which function both expressions have in the English sentence. Certainly, we also know that in English you put the indirect object always in front of direct objects in a sentence. But the form doesnt reveal any difference in the function. In German, it is obvious. See for yourself:
Ich gab dem Hund einen Keks. = I gave a biscuit to the dog.
If it really was the biscuit to whom I would give a dog, I would get the following sentence:
Ich gab den Hund einem Keks. = I gave the dog to a biscuit.
The form of the article (einen) clearly indicates that a biscuit is the direct object in the first example. Lets have a look at some more sentences with indirect objects.
Ich gehe mit meiner Mutter in die Schule.
I walk with my mother to school.
Ich bringe meinem Mann Blumen mit.
I bring my husband some flowers.
Machmal kommt meine Nachbarin zu meinem Haus.
Sometimes, my neighbour comes over to my house.
Ich habe noch nie einer Freundin gesagt, dass ihre Frisur hässlich ist.
I never told a girlfriend that her hair looks ugly.
Ich schreibe meinem Boss einen Brief.
I write a letter to my boss.
After having had a look at the other forms of the dative you will find that the letter m as the ending for articles in the dative case is quite indicative of the dative case.
Table: Articles in the dative case
Masculine Feminine Neuter Plural
Definite article dem der dem den
Indefinite article einem einer einem -
The prepositions which require the dative case are: aus, bei, mit, zu, nach, seit, von, außer, gegenüber (from, at, with, to, towards, since, of, except, opposite).
Er ging pünktlich aus dem Haus.
He went out of the house on time.
Kommst du mit deiner Freundin?
Are you coming with your girl friend?
Alle außer meiner Mutter haben sich gefreut.
Everyone except my mother were excited.