COD, COI

How to identify object complements in sentences in French.

– Le complément d’objet direct or C.O.D. (direct objet)

It designates the object of the action, it is built directly, without preposition. Example: L’enfant voit la balle.
In the passive voice, the COD becomes the subject: Example: La balle est vue par l’enfant.
Tip: To find the COD, ask the question: “QUOI ?” ou “QUI ? (“WHAT?” or “WHO?”)
Tu manges une pomme. (You eat WHAT? Answer: an apple, the Cod is une pomme)
Nous attendons nos invités. (We are waiting WHO? Answers: our guests, the Cod is: nos invités)

– Le complément d’objet indirect ou C.O.I. (indirect objet)

It designates the object of the action, is preceded by the preposition (à, de, …) that separates it from the verb.
Example: L’enfant joue à chat-perché
He answers the questions: “À QUI ?“, “À QUOI ?“, “De QUI ?” or “DE QUOI ?
Example: Le professeur répond à ses étudiants. Le professeur answers “À QUI ?” Answer: à ses étudiants (COI is “à ses étudiants”)
Example: Il nous a parlé de ses vacances. Il nous a parlé “DE QUOI ?” Answer: de ses vacances (The COI is “de ses vacances”).