Explain the formation of a covalent bond between two nitrogen atoms.

In a nitrogen molecule (N₂), two nitrogen atoms share three pairs of electrons (a triple bond) to complete their octet. This sharing of electrons results in a stable molecular structure.