Nucleic acids like DNA and RNA are macromolecules that contain genetic information and dictate the amino acid sequences of proteins. They are composed of nucleotides, which each contain a sugar, phosphate group, and nitrogenous base. DNA contains the sugars deoxyribose and bases adenine, thymine, cytosine, and guanine. It exists as a double-stranded helix. RNA contains the sugar ribose and bases adenine, uracil, cytosine, and guanine. It is usually single-stranded. DNA stores genetic information in genes as triplet codons that are translated into amino acids to make proteins.