A direct object receives the action of a transitive verb, answering "what?" or "whom?" (She threw the ball). An indirect object tells to whom or for whom the action is done, appearing between the verb and the direct object (She threw him the ball). Not all verbs take objects (intransitive verbs like "sleep" and "arrive" do not), and only ditransitive verbs like give, send, tell, show, and throw can take both a direct and an indirect object. The indirect object can also be expressed as a prepositional phrase after the direct object (She threw the ball to him), which makes the sentence structure more transparent.
Ask two questions of every action verb: "What did the subject [verb]?" to find the direct object, and "To/for whom?" to find the indirect object. Practice rewriting sentences with indirect objects as prepositional phrases and vice versa to see the equivalence.
You already know that sentences have a subject and a verb, and that nouns can appear in multiple roles. The direct object is the noun that receives the verb's action — it answers the question "what?" or "whom?" after an action verb. In "She baked a cake," the verb is *baked* and the direct object is *cake* (she baked *what?* — a cake). Not every verb takes a direct object: intransitive verbs like *sleep*, *arrive*, and *exist* describe complete actions that need no recipient, so asking "slept what?" yields nonsense. Only transitive verbs — the ones whose meaning requires something to act upon — take direct objects.
The indirect object adds a second layer: it tells *to whom* or *for whom* the action is done. In "She sent her friend a letter," the verb is *sent*, the direct object is *letter* (sent what?), and the indirect object is *friend* (sent to whom?). Notice the order: when an indirect object appears, it slots between the verb and the direct object. Verbs that regularly take both objects — *give*, *send*, *show*, *tell*, *throw*, *buy*, *bring* — are called ditransitive verbs, and they are the only verbs that can produce this two-object structure.
The clearest way to see the difference between the two objects is the prepositional paraphrase test. Any indirect object can be moved after the direct object and introduced with *to* or *for*: "She sent her friend a letter" becomes "She sent a letter to her friend." The meaning is identical; only the structure changes. When the indirect object moves into the prepositional phrase, it is no longer grammatically an indirect object — it is the object of the preposition *to* — but semantically it is the same recipient. The two forms are stylistic variants, not different meanings.
A common trap is overidentifying objects. After a linking verb (*is*, *seems*, *becomes*, *appears*), the noun that follows is a predicate nominative — it renames or re-identifies the subject — not a direct object. "She became a doctor" does not mean she acted upon a doctor; it means subject and predicate noun refer to the same person. The test: can you substitute the two noun phrases? "A doctor became she" inverts to the same meaning, confirming it is a predicate nominative, not an object. With a true direct object, the paraphrase does not work: "a cake baked she" is not the same sentence.