DNA contains the genetic code as a sequence of nucleotides. During transcription, the DNA sequence is copied into messenger RNA. The mRNA is then translated during protein synthesis where codons in the mRNA are converted to amino acids that make up proteins.