DNA is composed of building blocks called nucleotides. Each nucleotide consists of three parts: a phosphate group, a sugar molecule (deoxyribose in DNA), and a nitrogenous base. The four types of nitrogenous bases in DNA are adenine (A), thymine (T), guanine (G), and cytosine (C).