Noble gases have complete outer electron shells, which make them stable.
The coming together and sharing of electron pairs leads to the formation of a chemical bond known as a covalent bond.
Two chlorine atoms come together and share their electrons to form a molecule of chlorine.
In this way, each atom will have eight electrons in its valence shell.
As a single pair of electrons is shared between them, the bond is known as a single covalent bond.
A single covalent bond is represented by a single dash between the atoms.
When two oxygen atoms come together, they each share 2 electrons to complete their octets.
Since they share two pairs of electrons, there is a double bond between the oxygen atoms.
Similarly, Nitrogen atoms share a triple covalent bond to form a molecule of Nitrogen.