Nucleic acids (DNA and RNA) are composed of repeating units of nucleotides.
Each nucleotide is composed of a phosphate group, a sugar, and a nitrogenous base. The 4 types of nitrogenous base in DNA are adenine (A), thymine (T), guanine (G), and cytosine (C).