What are tpls / template files?
The name "template files" is self explanatory really. These files contain logic that is used to create a template of your HTML page. While we do all our module development, our hooks, and all magical stuff in PHP, your browser cannot understand PHP. So does that mean you have to now write HTML for every form and every page you create? The answer is a BIG fat NO!