Given the task definition and input, reply with output. Given a scientific passage and an answer, generate a question for the given answer.

Passage: When an element gains one or more electrons, an anion is formed. Nonmetals typically become anions when they interact with other chemical species. Answer: anion
What is formed when an element gains one or more electrons?