Nucleotides are the basic building blocks of nucleic acids such as RNA and DNA. A nucleotide is made composed of a sugar molecule, a phosphate group, and a nitrogen-containing base.