DNA contains genes that determine traits by regulating protein production. Genes are segments of DNA located on chromosomes, which are composed of DNA and protein. During gene expression, DNA is transcribed into mRNA which is then translated to synthesize proteins based on the genetic code where three-nucleotide combinations on mRNA code for specific amino acids. Together, this process explains how hereditary information encoded in DNA is used to produce traits and why individuals may resemble their biological parents and relatives.