Step 2: Recognize the nitrogenous bases present in DNA and RNA. DNA contains adenine (A), thymine (T), cytosine (C), and guanine (G). RNA contains adenine (A), uracil (U), cytosine (C), and guanine (G). Note that thymine is replaced by uracil in RNA.