Examples of covalent bonding: (i) A hydrogen molecule (H2)
The atoms number of hydrogen is 1.
It needs to have two electrons in its outer shell, and so if it 'bonds' with another hydrogen atoms and they both 'share' their electron with each other, it has the effect of allowing both atoms to have a complete outer shell.