In the sentence "The barista gave me the wrong drink," the word "drink" functions as the direct object.
Explanation:
1. Direct objects receive the action of the verb directly.
2. In this case, the verb "gave" is an action verb that shows the action performed by the barista.
3. The direct object "drink" is what the barista gave.
4. It answers the question "What did the barista give?" which points to the direct object in the sentence.
Therefore, in this sentence, "drink" serves as the direct object as it directly receives the action of being given by the barista.