Final answer:
DNA stores and transmits genetic information, while RNA plays a role in protein synthesis.
Step-by-step explanation:
The function of DNA is to store and transmit genetic information in a cell. It is responsible for coding for traits, which means it contains the instructions for building and maintaining an organism.
RNA, on the other hand, plays a crucial role in protein synthesis. It acts as a messenger between DNA and the ribosomes, relaying the instructions for building proteins.
Learn more about Function of DNA and RNA