Morgan Stanley Interview Question

What is a template and how does it work.