 Nucleotides serve as the building blocks for nucleic acids, DNA and RNA.They are composed of a nitrogenous base, a pentose sugar, and at least one phosphate group.Nucleotides contain either a purine or a pyrimidine nitrogenous base.