In ionic interactions, the transfer of valence electrons results in a completed valence shell for each ion.
Ionic interactions involve one atom (often a metal) losing one or more electrons to become a positively charged ion (cation), while another atom (usually a non-metal) gains those electrons to become a negatively charged ion (anion). This transfer of electrons leads to the formation of ions that achieve a stable electronic configuration.