A sitemap.xml file is used to help search engines better understand the structure of a website and index its pages more effectively. It typically includes a list of URLs on a website, along with additional metadata such as when the page was last updated, how important it is relative to other pages on the site, and how frequently it is changed.

Here is an example of what a sitemap.xml file might look like:

```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>https://www.example.com/page1</loc>
        <lastmod>2022-01-01</lastmod>
        <changefreq>monthly</changefreq>
        <priority>0.8</priority>
    </url>
    <url>
        <loc>https://www.example.com/page2</loc>
        <lastmod>2022-01-15</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.7</priority>
    </url>
    <url>
        <loc>https://www.example.com/page3</loc>
        <lastmod>2022-02-01</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>
</urlset>
```

This sitemap.xml file contains three URLs from the website www.example.com, each with metadata indicating when the page was last modified, how frequently it changes, and its priority relative to other pages on the site. These details help search engines crawl and index the website more efficiently.