Note
Emphasis is on the last word of the sentence.Ich gebe den Apfel der Frau
not to the kid
Ich gebe der Frau den Apfel
not the bread
Breakdown of der Frau = indirect object and dative der Frau = direct object and accusative den Apfel = indirect object and dative
ich
I
die Frau
the woman
der Apfel
the apple
geben
to give; to pass; to hand