Nucleic acids like DNA and RNA are long biopolymers composed of nucleotides. DNA stores genetic information in cells and is made up of deoxyribonucleotides arranged in a double helix structure. RNA is involved in protein synthesis and comes in several types including mRNA, tRNA, and rRNA. Nucleic acids have a primary structure defined by their linear sequence of nucleotides joined by phosphodiester bonds, and a secondary structure involving base pairing of nucleotides that gives them their characteristic helical shape.