What's the function of messenger rna?

Template for protein. Messenger RNA is transcribed from dna and it is the go between dna and protein. The transcribed RNA is processes to the right size and form for translation to proteins. It is the proteins that carry out most of the cellular functions.