Base pairing in DNA.

The pairs of nitrogenous bases in a DNA double helix are held together by hydrogen bonds.

The geometry of the bases are the basis of base-pairing rules.