Sitemap
What is
A file (usually sitemap.xml) with a list of URLs for all pages of a website. Search engines use it for crawling, and scripts use it as a ready list of pages to process.
Format
<urlset>
<url><loc>https://example.com/page/</loc></url>
<url><loc>https://example.com/product/123/</loc></url>
</urlset>
Each <loc> element is a page address.
Why it is needed in automation
A sitemap is a ready "inventory" of a website. Instead of figuring out how to crawl a site, a script simply reads the sitemap and gets the full list of pages. This is the source of the task queue for bulk processing.