"Ionic bonding is the complete transfer of valence electron(s) between atoms and is a type of chemical bond that generates two oppositely charged ions. It is observed because metals with few electrons in its outer-most orbital. By losing those electrons, these metals can achieve noble-gas configuration and satisfy the octet rule. Similarly, nonmetals that have close to 8 electrons in its valence shell tend to readily accept electrons to achieve its noble gas configuration. "