Answer the following question given this paragraph: 

DNA and RNA are nucleic acids. DNA stores genetic information. RNA helps build proteins. Proteins, in turn, determine the structure and function of all your cells. Proteins consist of chains of amino acids. A protein’s structure and function depends on the sequence of its amino acids. Instructions for this sequence are encoded in DNA.


Q: Both dna and rna are what type of acids?


A:
nucleic acids