Answer: The type of molecule is nucleic acid.
Nucleic acids are formed by nucleotides and those nucleotides are composed by three components, in which one of them is a sugar. If the sugar is a deoxyribose, the polymer is DNA (deoxyribonucleic acid).
The answer is nucleic acid because DNA, the molecule that caries genetic information, is a nucleic acid.