When an atom loses an electron, it becomes positive (Since you're taking away something that is negative). It would not become an ion, it would become a cation.
Magnesium has two outer electrons and will lose the electrons to form a 2+ ion.
Generally, two. Magnesium becomes the charged cation,
Mg 2+
Iodine tends to gain one electron when it forms an ion.
It doesn't lose or gain
Magnesium atoms lose 2 electrons to form a Mg2+ ion, and fluorine atoms gain 1 electron to form a F- ion. One magnesium ion forms an electrostatic attraction with two fluoride ions. This electrostatic attraction is an ionic bond. The resulting ionic compound is MgF2. Mg2+ + 2F- ---> MgF2
gain
It will gain an electron so that it can complete a full outer shell of 8 electrons.
lose an electron, forms Na+, sodium with a charge of plus one.
Iodine tends to gain one electron when it forms an ion.
Potassium lose an electron (iodine gain this electron) to form potassium iodide, KI.
When an atom loses or gains an electron, it forms an ion. Similarly if a molecule also lose or gain an electron it forms a molecular ion ,e.g CH4+ CO+ etc.
Because magnesium has a low electronegativity and chlorine has a high electronegativity, magnesium tends to lose an electron and chlorine tends to gain an electron when these substances react. This results in the formation of magnesium and chloride ions. Thus, magnesium chloride is ionic.
Atom lose electron to form positive ion and some gain electron to form negative ion.
It doesn't lose or gain
Magnesium has a charge of 2+ and oxygen 2- Magnesium will lose the two "extra electrons" in its valence shell when creating an ionic bond with oxygen. The oxygen will gain these two electrons.
lose 2
Magnesium atoms lose 2 electrons to form a Mg2+ ion, and fluorine atoms gain 1 electron to form a F- ion. One magnesium ion forms an electrostatic attraction with two fluoride ions. This electrostatic attraction is an ionic bond. The resulting ionic compound is MgF2. Mg2+ + 2F- ---> MgF2
gain
Gain of one electron