Answer: DNA and RNA are both examples of nucleic acids
They consist of a strand of nucleotides with a phosphate group, a 5′ sugar and a nitrogenous base.
Extra info: DNA and RNA molecules are polymers. DNA is double stranded, whereas RNA is single stranded.
The nucleotides of DNA can pair together by base pairing, creating a strand that is complementary to its pair
Various types of RNA exist which have roles in protein synthesis as well as regulation of cellular programmes by fine-tuning gene expression.