A sitemap is a XML file that has a complete list of the web page URLs for your website. A sitemap also contains other details like the metadata of each URL and when it was last updated. The primary purpose of a sitemap is to tell search engines like Google about the pages on your website that are available for their bots to crawl.