Answer & explanation:
For an atom to be electrically <u>neutral</u>, it must have the same amount of protons and electrons, but this does not always happen, so compounds called ions arise.
Ions are formed when an atom of an element has electron gain or loss due to reactions. They can be classified into <u>cations</u> and <u>anions</u>.
Anions are atoms that receive electrons, so they are negatively charged.
<u>Examples</u>: Cl⁻, O⁻², N⁻³
Cations are atoms that lose electrons and thus become positively charged.
<u>Examples</u>: Na⁺, Al⁺³, Pb⁺⁴
In addition, some compounds are formed in bonds between negative and positive ions. These are called ionic bonds.
<u>Example</u>: Formation of sodium chloride (table salt).
Na⁺ + Cl⁻ → NaCl