Questions & Answers about Ana me dio una invitación para la fiesta.
Me means to me or for me here. It is an indirect object pronoun, and it tells you who received the invitation.
So:
- Ana me dio... = Ana gave me ...
In Spanish, this pronoun usually goes before the conjugated verb:
- Ana me dio una invitación.
If you want extra emphasis, you can also add a mí:
- Ana me dio una invitación a mí.
But in most normal situations, just me is enough.
Dio is the third-person singular preterite form of dar, which means to give.
That matches Ana, because Ana is he/she form grammatically:
- yo di = I gave
- tú diste = you gave
- él/ella dio = he/she gave
So Ana dio means Ana gave.
The preterite is used here because it describes a completed action in the past: she gave the invitation.