DNA is composed of four types of nucleotides, each containing a phosphate group, a sugar molecule, and one of four nitrogenous bases: adenine (A), thymine (T), guanine (G), and cytosine (C). The double helix structure is stabilized by hydrogen bonds between the bases, with A pairing with T and G pairing with C.