Transcription and translation are the two main stages of gene expression. Transcription involves copying a gene's DNA sequence into messenger RNA (mRNA) within the cell nucleus. Translation then uses the mRNA template to produce a polypeptide chain through the joining of amino acids specified by the mRNA, which occurs in the cytoplasm. Together, transcription and translation explain how the information encoded in genes is used to direct the synthesis of proteins according to the genetic code.