What is used as a template to generate a complementary mRNA