any of the pairs of the hydrogen-bonded purine and pyrimidine bases that form the links between the sugar-phosphate backbones of nucleic acid molecules: the pairs are adenine and thymine in DNA, adenine and uracil in RNA, and guanine and cytosine in both DNA and RNA.