While both DNA and RNA have adenine (A), guanine (G), and cytosine (C), RNA uses uracil (U) instead of thymine.