Nucleic acids allow organisms to transfer genetic information from one generation to the next. There are two types of nucleic acids: deoxyribonucleic acid, known as DNA and ribonucleic acid, known as RNA. When a cell divides, its DNA is copied and passed from one cell generation to the next generation.