Here's why:
* DNA: Contains the bases adenine (A), guanine (G), cytosine (C), and thymine (T).
* RNA: Contains the bases adenine (A), guanine (G), cytosine (C), and uracil (U).
Uracil pairs with adenine just like thymine does, so this substitution doesn't change the overall structure or function of RNA.