Nucleic acids are made up of nucleotides which contain a nitrogenous base, a 5-carbon sugar (either ribose or deoxyribose), and a phosphate group. DNA and RNA are nucleic acids that differ in their sugar and one of their bases. DNA contains the bases adenine, guanine, cytosine, and thymine and uses deoxyribose while RNA contains adenine, guanine, cytosine, and uracil and uses ribose. Nucleic acids form double helix structures through base pairing between complementary bases and phosphate-sugar backbones to store and transmit genetic information.