for questions concerning the use of indirect objects
An indirect object is an object in a sentence other the primary object.
We paid the shop-keeper 20 dollars for the dog food.
The primary object is the 20 dollars, the indirect objects are the shopkeeper and the dog food.
This is because the verb is paid, and we pay with money. To whom and what for become indirect.