To easily remember the bases, think of them as:
\textbf{DNA:} A, T, G, C (Adenine, Thymine, Guanine, Cytosine)
\textbf{RNA:} A, U, G, C (Adenine, Uracil, Guanine, Cytosine)
The only difference is that Thymine (T) in DNA is replaced by Uracil (U) in RNA.
Pyrimidines are C, T, U. Purines are A, G.