Sitemaps help search engines discover pages, especially on large or new sites. They should only include indexable, canonical URLs that return a 200 status.
Declare your sitemap in robots.txt with a Sitemap line and submit it in Google Search Console.

