What are nucleic acids made of? A nucleotide contains three components: a phosphate group, a sugar and a nitrogenous base. The phosphate group and sugar are bonded together to make the backbone portion of a nucleic acid. In DNA, the sugar is deoxyribose; in RNA, the sugar is ribose.