A template engine is a program that separates logic and design . Its basic intent is to make the implementation and maintenance for a software project .There are many template engines facilitating the programmers and encouraging non programmers to come to development .Technically template engines processes template and data provided to an output view .At times template engines do not speed up the work but its up to individuals .

template  engine

template engine

Comparison of different template engines can be found here .