DNA
DNA contains the sugar deoxyribose and always occurs in cells as a double-stranded helix, whereas RNA is largely single-stranded. DNA is responsible for genetic information transmission.
RNA
It differs from DNA in ribonucleotides: they contain the sugar ribose and the base Uracil instead of the Thymine in DNA. RNA helps to convey genetic information that directs the synthesis of specific proteins.