DNA and RNA are nucleic acids that are composed of nucleotides and have important roles in heredity and gene expression. DNA contains the genetic material in cells and is a double-stranded helix that replicates in a semi-conservative manner, with each original strand serving as a template for a new complementary strand. RNA is single-stranded and exists in different types - rRNA, mRNA, tRNA - that help express the genetic code by translating DNA into proteins.