(a) In ionic bonding electrons are transferred from one type of atoms to the other type creating positive and negative ions. For example in $NaCl,\ Na$ loses one electron and $Cl$ gains one so that $Na^{+}$ and $Cl^{-}$ ions have a stable shell structure