Here is another couple of sentences:
1) The animals were feasting on lots of good food.
a) The animals = subject
b) were feasting on = transitive verb
c) lots of good food = direct object (form = noun phrase ?)
2) I ordered myself something to eat.
a) I = subject
b) ordered = transitive verb
c) myself = indirect object ?
d) something to eat = direct object?
(or is it more complicated than that because of “myself” ?)
(is “to order oneself” a pronominal verb ?)