When analyzing sentences, you may be asked to find the direct and indirect object. While this may seem hard, it's actually very easy once you know the rules to finding them.
Here are some steps to finding direct and indirect objects
The direct and indirect objects will always be nouns or pronouns, like king or he
The direct and indirect objects will only follow an action verb, like laugh.
The answer would be messenger because he is the one doing the action
Let's look at this sentence, The messenger handed the king a message. The first step to finding the direct object is identifying the subject,
The next step is to find the verb (what action the subject is performing)
The answer would be handed because that is what the messenger is doing
The answer would be message because the messenger is handing a message
Next is to find the direct object. There will always be a direct object and it will fall after the verb. To find the direct object, ask yourself, what is the messenger handing?
The answer is the king because the message is being handed to him
The last step is to find the indirect object. Not every sentence will have an indirect object, but if it does it will fall in between the verb and direct object. To find the indirect object, ask yourself, who is receiving the action.