DNA is a deoxyribonucleic acid it's kind of like a blueprint and its needed for all living organisms that way they can remain functional and to continue existing, DNA is also Double- stranded DNA has two nucleotide strands, 5 carbon sugars and four nitrogen containing nucleobases.
RNA is a ribonucleic acid, it helps to carry out the "blue prints" guidelines RNA is more versatile than DNA ,RNA is capable of doing multiple tasks in an organism, DNA is just more stable and holds more complex info for longer periods of time, RNA is single stranded and composed of it's phosphate group, 5 carbon sugars, and four nitrogen containing nucleobases.