Morgan Stanley interview question

What is a template and how does it work.