Nitrogenous bases.
Adenine and guanine are purines, nitrogenous bases with two organic rings.
Cytosine and thymine are pyrimidines, which have a single ring.