Templates allow deploying any kind of Kubernetes resource (Deployment, Secret, ConfigMap...)
You can get more information about Kubernetes file format in the official documentation.