RNA and DNA are both nucleic acid macromolecules that are comprised of a set of monomers known as nucleotides. They also both contain purines and pyrimidines as their bases and contain pentose sugars as their backbones.
RNA and DNA are both composed of nucleotides that are connected to a sugar backbone. However, RNA contains ribose as its sugar backbone, while DNA contains deoxyribose as its sugar backbone. The bases found in RNA and DNA are also different. They both contain the same three nitrogenous bases, including adenine, cytosine and guanine, but DNA contains thymine as its fourth base, while RNA contains uracil.