Nucleic acids are polymeric macromolecules essential for life. They include DNA and RNA and are made of nucleotides. DNA contains the genetic instructions in cells and is organized into chromosomes. It exists as a double helix held together by base pairing between purines and pyrimidines. RNA has several types and functions in protein synthesis or regulation. Nucleotides are the monomers of nucleic acids and also have important roles in metabolism. DNA is tightly packaged in the nucleus through winding around histone proteins to form nucleosomes and higher-order chromatin structures.