what is the difference between Der den die and das
Im so confused I understand the genders but where does den come in
dative = indirect objects;
accusative = direct objects
Der is masculine Nominative. Die is feminine/plural Nominative. Das is neuter Nominative.
Den is masculine Accusative. Accusative is direct object, which means that it is something that is being affected by the subject. So for example, "Ich gebe ihm den Apfel." or "Ich werde den Apfel essen." uses 'den' instead of 'der' because it is an object that is in some way being affected. Accusative case for feminine/plural/neuter are still die/das like they are in Nominative.
There is also Dative and Genitive case which introduce 'dem' and 'des', but it doesn't seem like you are quite there yet so I won't give too much information at once. :-)