Ionic bonding is the process of two or more atoms losing or gaining electrons to become charged ions. The charged ions are then attracted to each other:
Na+ + Cl-7 -> [Na]+ + [Cl]-
This type of bonding occurs between metals and non-metals?. This only occurs if the overall energy change for the reaction is favourable. The larger the difference in electronegativity then the stronger the bond.