(DNA and RNA) are made of nucleotide subunits.
Nucleotides are composed of a five-carbon sugar, a phosphate group, and 4 different types of nitrogen-containing base.
This diagram illustrates DNA (Deoxyribonucleic Acid).
RNA
(Ribonucleic Acid) is similar with minor differences.