An XML Sitemap is a special document created by a webmaster or a piece of software that provides a map of all the pages on a website to make it easier for a search engine to index that website.
XML Sitemap is a list of all the important pages of your website. The XML sitemap itself is a file of code that should be updated whenever you add a page to your website. a document in XML format categorizes all relevant pages, posts, files, etc.
The XML sitemap also affects SEO value as the XML sitemap is what most search engines use to look at a page, determine its value, and then travel to another page within the site.
This document is not intended for human use, though it can be viewed by humans. Instead, an XML sitemap is designed to help search engine crawler bots easily find all of the pages for a given website – very similar to a roadmap or atlas that one would use when driving a car long distances.