Indirect object are used to describe the object that is not directly used by the subject.
It answers to the questions "To whom,for whom,to what,for what"
Direct object are objects that are directly used by the subject.
It answers to the questions "who , what"
He gave me some water. (IDO = me, DO = some water)
She sent her friend an email. (IDO = her friend , DO = an email)
He brought him a gift. (IDO = him, DO =gift)
My father bought us a new TV set.(IDO =us ,DO = a new TV set)