Both are nucleic acids, but DNA is double-stranded and carries the instructions, while RNA (ribonucleic acid) is single-stranded and helps convert those instructions into proteins.