Most commonly, the pronoun y replaces indirect objects following the preposition à (to), and it roughly means “there” in English (the key word here being “roughly”). The pronoun en replaces indirect objects following the preposition de (of), and it roughly translates to “some” or “any” in English (again, roughly!).