RNA carries information from DNA to the ribosome. Protein synthesis in the cell. The protein produced is determined by the coding sequence of mRNA which depends on amino acids sequence.
Examples of non-coding RNA is transfer RNA and ribosomal RNA which are involved in the process of translation.