Genetics molecules like DNA and RNA have the ability to carry genetic instructions and replicate themselves perfectly. DNA contains genes which provide the code for protein production. The genetic code is expressed through transcription of DNA to mRNA and translation of mRNA to proteins. DNA replication ensures genetic information is preserved as cells divide. Mutations can occur through changes in DNA sequence or structure and generate genetic variability in populations.