During transcription, RNA polymerase binds to DNA at the beginning of a gene, unwinds the DNA, and synthesizes a complementary RNA strand using ribonucleotides. This process, akin to DNA replication but with RNA as the product, creates mRNA containing the genetic information of the gene. Once synthesized, mRNA leaves the nucleus and enters the cytoplasm, where ribosomes utilize its information to synthesize proteins.