A sitemap is a file on your website that lists the pages you want search engines to know about. Google says search engines read it to crawl your site more efficiently. Crawling means a search engine's robot visiting your pages.
It is not an instruction Google must obey. Google says a sitemap helps search engines discover URLs, but does not guarantee that everything in it will be crawled and indexed.