- Atoms that loss or gain electrons are called ions. There are two types of ions: cations and anions.
- Here, 2+ represents that Calcium (Ca) should gain 2 more electrons so that its number equals to that of protons.
- 3- represents that Nitrogen (N) should loss 3 electrons to equivalent with the number of protons.
- Here, anions are S^2-, P^3-, Se^2-, Br^-.
- While cations are Cr^3+, Ag^+, Li^+, Ba^2+.
- The number of protons of Magnesium (Mg) = 12
- The number of nuetrons of Mg = 12
- The number of electrons of Mg = 12
Hope you could get an idea from here.
Doubt clarification - use comment section.