The diagram shows the chemical structure of a nucleotide.

A molecular structure represents a nitrogenous base as two polygons, then a 5-carbon sugar as a pentagon, and then a phosphate group as a sphere.

How does a polymer of nucleotides encode genetic information?

A. by the sequence of nitrogenous bases
B. by the sequence of 5-carbon sugars
C. by attaching sulfur groups to the phosphate groups
D. by attaching carbohydrates to the 5-carbon sugars