Thymine (T) is present in DNA, while Uracil (U) is present in RNA.
In DNA, the four nitrogenous bases are adenine (A), cytosine (C), guanine (G), and thymine (T).
In RNA, the four nitrogenous bases are adenine (A), cytosine (C), guanine (G), and uracil (U).
So, Thymine (T) is present in DNA, while Uracil (U) is present in RNA.