Juan trajo unas flores a Ana.
Juan brought Ana some flowers.
Juan le trajo unas flores.
Juan brought her some flowers. (To whom? To Ana).
Why is le used instead of se. Se means her
Le duele la pierna.
His/her/your leg hurts. here you use le for her too. is other place wrong?
I went and got link. Pronombre de complemento indirecto: Pronoun Type. How to use Pronombre de complemento indirecto in Spanish (kwiziq.com)