both are nucleic acids !
DNA is double stranded and has pentose sugar, phosphate, nitrogenous bases like adenine, guanine,thymine and cytosine !
while RNA is single stranded and same basic structure as DNA but the difference is thymine is absent and uracil is present !