A nucleic acid is made of chain of structural repeating units called nucleotide. Each nucleotide consists of nitrogen atom attached to a pentose ( five carbon) sugar which is further attached to a phosphate group. A sugar is nothing but a macro molecule that is made up of carbohydrates consisting of carbon, hydrogen and oxygen.
Thus, it can be said that a nucleic acid is made up of