Respuesta :

the direct object is he gave her a hug

Answer:

Hug is the direct object because the sentence is talking about the hug.