ANS: An ionic bond is a type of chemical bond formed through an electrostatic attraction between two oppositely charged ions. Ionic bonds are formed between a cation, which is usually a metal, and an anion, which is usually a nonmetal.
Ionic bonding in sodium chloride
Sodium (2,8,1) has 1 electron more than a stable noble gas structure (2,8). If it gave away that electron it would become more stable.
Chlorine (2,8,7) has 1 electron short of a stable noble gas structure (2,8,8). If it could gain an electron from somewhere it too would become more stable.
The answer is obvious. If a sodium atom gives an electron to a chlorine atom, both become more stable.
The sodium has lost an electron, so it no longer has equal numbers of electrons and protons. Because it has one more proton than electron, it has a charge of 1+. If electrons are lost from an atom, positive ions are formed.
Positive ions are sometimes called cations.
The chlorine has gained an electron, so it now has one more electron than proton. It therefore has a charge of 1-. If electrons are gained by an atom, negative ions are formed.
A negative ion is sometimes called an anion.
The nature of the bond
The sodium ions and chloride ions are held together by the strong electrostatic attractions between the positive and negative charges.
The formula of sodium chloride
You need one sodium atom to provide the extra electron for one chlorine atom, so they combine together 1:1. The formula is therefore NaCl.