It is particularly useful for large, new or poorly linked sites. WordPress generates one automatically at /wp-sitemap.xml.
The sitemap is submitted in Google Search Console and Bing Webmaster Tools. It should contain only indexable pages, with no redirects or errors.