Nucleic acids are macromolecules where genetic information is stored . There are two types of nucleic acids : deoxyribonucleic acid and ribonucleic acid . Artificial nucleic acid analogs have been designed and synthesized by chemists , and include peptide nucleic acid , morpholino - and locked nucleic acid , as well as glycol nucleic acid and threose nucleic acid .