Each nucleotide consists of three components : a nitrogenous heterocyclic base , which is either a purine or a pyrimidine ; a pentose sugar ; and a phosphate group .

A nucleotide consists of a nitrogenous base , a pentose sugar or a five-carbon sugar and a phosphate group .
