Nucleic acids are the polynucleotides composed of carbon, hydrogen, oxygen, nitrogen and phosphorus. They control the basic functions of the cell. On the basis of nucleotides these are of two types – DNA (Deoxyribonucleic Acid) and RNA (Ribonucleic Acid). These are found in all living cells and viruses as genetic material. These are also found in autonomous organelles like mitochondria and chloroplast.