A nucleus contains positive protons and, except in ordinary hydrogen, neutral neutrons. Negative electrons occupy the space around the nucleus. Nearly all the atom's mass is in its nucleus.
Atomic number \(Z\) counts protons and identifies the element. Mass number \(A\) counts protons plus neutrons. The neutron count is \(A-Z\).
A neutral atom contains as many electrons as protons. Removing an electron makes its charge more positive. Adding an electron makes its charge more negative.
An ion has a net electrical charge because its proton and electron counts differ. Forming an ordinary ion changes electron count without changing the element’s proton number.
How is a positive ion formed? By loss of electrons.
What does an ionic formula express? The simplest electrically neutral ratio of ions.