A direct object is the immediate (direct) thing a verb acts upon. Examples include the following: Kick the ball. Ride the horse. Joan likes to eat cake. Here are examples in which a pronoun functions as a direct object: That's my favorite book, so be sure to return it. Quinn loves animals and always feeds them.
An indirect object can only occur in a sentence that already includes a direct object. An indirect object receives the direct object. Here are examples: Give Gus that book. Show Lynn your wound. Here are examples of pronouns as indirect objects: Bring me the towel. Throw her the ball.
While English uses different cases for pronouns to distinguish between subject vs object (As in "I like movies." but "Show me another."), we use the same forms of pronouns for direct and indirect objects.