An XML sitemap is a file on a website that lists all the important pages that search engines should recognize and index. It is essentially a table of contents that is not primarily intended for visitors, but rather serves the automated programs of search engines.
In addition to the URLs, the file can also provide supplementary information, such as the date of the last update.
The abbreviation XML stands for the technical format—that is, the structured, machine-readable way in which the list is written. The file can then be submitted to search engines or referenced via the robots.txt file so that their programs know where to find the directory and can locate important pages more easily.