Ions form when metals lose electrons to become cations and non-metals gain electrons to become anions, resulting in both having full outer electron shells, similar to noble gases.
What is a binary ionic compound?
It is composed of two elements: a metal cation and a non-metal anion, bonded by strong electrostatic forces.