
A nucleotide has three components, a 5-carbon sugar, a nitrogenous base and phosphoric acid.
Those containing ribose are called ribonucleic acids or RNA and those containing deoxyribose (ribose with an oxygen atom removed from carbon atom 2) are called deoxyribonucleic acids or DNA.

Fig. Pentose sugars of nucleotides
Each nucleic acid contains four different bases, two purines and two pyrimidines.
The nitrogen in the rings gives the molecules their basic nature.
The two purines are adenine (A) and guanine (G). The two pyrimidines are thymine (T) and cytosine(C) in DNA, with uracil (U) in place of thymine in RNA.
Thymine is chemically very similar to uracil (it is 5-methyl uracil, that is uracil with a methyl group. –CH3 on carbon atom 5).
Purines have two rings and pyrimidines have one ring in their structure.

Fig. Common Purine and Pyrimidine bases
Phosphoric Acid : Phosphoric Acid gives nucleic acids their acid character.

Fig. Phosphoric acid
