A covalent bond is formed by two atoms sharing a pair of electrons. The atoms are held together because the electron pair is attracted by both of the nuclei. In the formation of a simple covalent bond, each atom supplies one electron to the bond - but that doesn't have to be the case.