Step 1: Understand the structure of nucleotides. Nucleotides are the building blocks of nucleic acids, consisting of three components: a phosphate group, a sugar (either ribose or deoxyribose), and a nitrogenous base (adenine, thymine, cytosine, guanine, or uracil).