The Pronoun Y
When Y replaces à and a place it means there.
Je vais à la banque.
J'y vais.
I am going there.
It also replaces prepositions indicating a place:
Je vais en Espagne.
J'y vais.
Note that Je becomes J' before y.
When Y replaces a thing or idea it means it or them.
Il répond à la lettre.
Il y répond.
He replies to it.
Il répond aux lettres.
Il y répond.
He replies to them.
It cannot be used for people.
Il répond à Pierre.
Il lui répond.
He replies to him.
It cannot be used to replace prepositional phrases with de. For these we use en.
Like all pronouns it goes before the verb but in infinitve constructions it goes after the conjugated verb:
Je veux y manger.
In the compound tenses including a past participle it goes before both verbs.
Elle y est allée.
In the negative:
Je ne vais pas à la banque.
Je n'y vais pas.
Je ne suis pas allé à la banque.
Je n'y suis pas allé.
Je m'intéresse aux informations
Je m'y intéresse
Je me suis intéressé aux informations.
Je ne m'y suis pas intéressé.