Ions are formed when atoms lose or gain electrons, with the metal transferring electrons to the outermost shell of the non-metallic atom