Nucleic acids allow organisms to transfer genetic information from one generation to the next. There are two types of nucleic acids: deoxyribonucleic acid, better known as DNA and ribonucleic acid, better known as RNA.
When a cell divides, its DNA is copied and passed from one cell generation to the next generation. DNA is organized into chromosomes and found within the nucleus of our cells. It contains the "programmatic instructions" for cellular activities. When organisms produce offspring, these instructions, in the form of DNA, are passed down.