what does RNA contain which also replaces something in DNA

RNA contains the nucleotide uracil (U), which replaces thymine (T) found in DNA.