An ionic bond occurs between a metal and a non-metal, where the valence (outer-shell) electrons are transferred from the metal atom (or atoms) to the non-metal atom (or atoms).
The metal atom forms positive ions called cations and the non-metal atoms form negative ions known as anions.
Both types of ions are stable with filled outer-shell electrons!