Nucleic acids are the polymers of : 
1. Nucleosides
2. Nucleotides
3. Bases
4. Sugars

HINT: Nucleic acids are made up of nucleotides.

Explanation :

Nucleic acids are polymer of nucleotides in which nucleic acids are linked together by a phosphodiester linkage. The reaction is as follows:

                        

e.g., DNA, RNA, etc.

A nucleic acid is a polymeric macromolecule made up of repeated units of monomeric 'nucleotides' composed of a nitrogenous heterocyclic base

which is either a purine or a pyrimidine, a pentose (five carbon) sugar (either ribose or 2′-deoxyribose) and one to three phosphate groups.