What are the nitrogen-containing bases of DNA called?

Nucleotides. There are 4: Adenine, Cytosine, Thymine, and Guanine in DNA and mRNA. In tRNA, the 4 nucleotides are Adenine, Cytosine, Uracil and Guanine.