Pronombres de objeto indirecto y el verbo gustar
An indirect object is the person a sentence lands on: the one you give something to, write something to, or that something is pleasing to. Spanish marks that person with a short pronoun standing in front of the verb — me, te, le, nos, les. Five pronouns for five rows, because les covers ustedes and ellos at once. One extremely common verb, gustar, is built entirely out of them, which is why 'I like coffee' comes out of a Spanish-speaking mouth as me gusta el café, with the coffee doing the work.
The five pronouns
me = to me. te = to you. le = to him, to her, to you when you are saying usted. nos = to us. les = to them, and to all of you. That is the entire set, and you already met three of these shapes as direct objects — me, te and nos — so only le and les are new. Two things to notice. The third person carries no gender: le is 'to him' and 'to her' alike, and if that is ever unclear you add a él or a ella and the doubt disappears. And les does double duty exactly the way the verb ladder does — one form for ellos and for ustedes, whether you are speaking to your grandmother or to three friends at a taquería.
Where they sit
Right in front of the conjugated verb, the same seat the direct pronouns took: Te escribo una carta. Nos dan clases de español. A no goes in front of the whole package: No me gusta. When there is an infinitive in the sentence you get a free choice — hang the pronoun on the front or glue it onto the end of the infinitive: Le voy a dar el libro and Voy a darle el libro are equally correct and equally common. Pick whichever you like, but do not do both in one sentence.
Saying it twice: le… a Camila
Spanish likes to name the person AND keep the pronoun: Le doy el libro a Camila. To an English ear that looks like saying it twice, and it is — but the pronoun is not optional. On its own le could be him, her or usted, so the a Camila is what tells you which. The same doubling opens sentences for emphasis: A mí me gusta el café, pero a Diego le gusta el té. A mí does not replace me; nothing ever replaces it.
gustar runs the other way
Me gusta el café is not 'I like the coffee' word for word. The subject of that sentence is el café, and what it says is that the coffee is pleasing to me. The me is the indirect object — the person the pleasing lands on. That one fact explains everything else. Because the thing liked is the subject, the verb agrees with the THING, not with you, so in practice gustar shows up in exactly two shapes: gusta for one thing and gustan for several. Me gusta el mercado. Me gustan los tamales. An infinitive counts as one thing, always: Me gusta cantar, and even stacked up, Me gusta leer y cantar keeps gusta.
Changing who does the liking
Swap the pronoun, leave the verb alone: me gusta, te gusta, le gusta, nos gusta, les gusta. Every one of them switches to gustan the moment the thing liked turns plural: Nos gustan las frutas. Les gustan los libros. To ask a group — your friends, your cousins, anybody — it is ¿Les gusta?, because plural 'you' across Latin America is ustedes, at the market and at home alike. And le gusta is what you use with usted for one person you are being polite to: ¿Le gusta el té, doña Lucía?
The gustar family
A small group of very useful verbs works the same way round. encantar = to love it: Me encanta el mole. It is already the strong one, so it does not need mucho behind it. interesar = to find interesting: Me interesa la historia. doler = to hurt: Me duele la cabeza, literally 'the head hurts to me'. faltar = to be missing: Nos faltan dos pesos. In every one of them the person hides in the pronoun and the thing sits in the subject, which is why they all look backwards and all behave identically.
le never does a direct object's job
Now that you have lo and la, keep the two jobs apart. Whoever the verb acts on is the direct object → lo, la, los, las. Whoever the verb acts for, gives to, or speaks to is the indirect one → le, les. So Lo escucho is 'I listen to him', but Le hablo is 'I talk to him'. La invito is 'I invite her', but Le doy el boleto is 'I give her the ticket'. In books printed in Spain you will run into le vi and le invité for a man; here the direct object is lo, and lo vi is what you say and what you write.
When both pronouns meet: se lo
Put a direct and an indirect pronoun in one sentence and the indirect one goes first — and le or les changes shape to se: Le doy el libro plus lo becomes Se lo doy. The form le lo simply does not exist in Spanish. You do not have to produce this yet, but start recognising it, because se lo, se la and se los are everywhere in speech: ¿El té? Doña Lucía se lo da a Diego.
