Dear student,
DNA molecule is double stranded while RNA is single stranded, if RNA molecule was also double stranded it would eventually resist from being translated into proteins.
DNA contains thymine which makes it energetically more costly, while RNA contains uracil in place of thymine. The only difference between thymine and uracil is the presence of methyl group in thymine, absent in uracil. If uracil was also present in DNA, it would cause difficulties in its transcription.
Regards