Answer:
Both DNA and RNA are the types of nucleic acid which play an important role as the genetic material of the organisms.
Although both are nucleic acid but they can be easily distinguished on the basis of their composition as both contain a five-carbon sugar but DNA sugar called deoxyribose lack an -OH group which is present in the RNA molecule.
Also, the nitrogenous base of these molecules differ as the DNA posses adenine, guanine, cytosine and thymine whereas RNA posses uracil instead of thymine.
Thus, RNA and DNA differ from each other.