Jinja2 is a templating engine and as such its primary use case is to render templates into text; which is usually HTML output saved into text file.
Consider the following Ansible play that uses Jinja2 templates to evaluate expressions:
- hosts: localhost
gather_facts: no