With the exception of certain viruses, DNA rather than RNA carries the hereditary genetic code in all biological life on Earth. DNA is both more resilient and more easily repaired than RNA. As a result, DNA serves as a more stable carrier of the genetic information that is essential to survival and reproduction.