mRNA carries the genetic code from the DNA in the nucleus to the ribosome in the cytoplasm. At the ribosome, the mRNA is translated into a specific sequence of amino acids, forming a protein. This process involves transfer RNA (tRNA) and ribosomal RNA (rRNA). The sequence of bases in the mRNA determines the order of amino acids in the protein, which in turn determines the protein's structure and function.