Messenger RNA (mRNA) is a type of RNA molecule that carries genetic information from the DNA in the nucleus to the ribosomes in the cytoplasm, where it serves as a template for protein synthesis.