RNA Structure and Function. The two main types of nucleic acids are deoxyribonucleic acid (DNA) and ribonucleic acid (RNA). DNA is the genetic material found in all living organisms and is found in the nucleus of eukaryotes and in the chloroplasts and mitochondria. In prokaryotes, the DNA is not enclosed in a membranous envelope.