Polymer made of nucleotides. They are connected through phosphodiester linkages. There are two types to nucleic acids : the deoxyribonucleic acid (DNA) and the ribonucleic acid (RNA).