XML stands for eXtensible Markup Language. The XML file of a template tells the admin which fields exist. The Twig file next to it shows the content on the website. As a user you only see the finished form.