DNA function:-Deoxyribonucleic acid (DNA) is a nucleic acid that contains the genetic instructions for the development and function of living things. All known cellular life and some viruses contain DNA. The main role of DNA in the cell is the long-term storage of information.
RNA function:-The main function of RNA is to carry information of amino acid sequence from the genes to where proteins are assembled on ribosomes in the cytoplasm