During transcription, a DNA template is used for production of a messenger RNA, by the action of enzyme RNA polymerase. Following this, the mRNA is sed for synthesis of the proteins, by the process of translation. Whole mechansim is known as central dogma.