An XML sitemap is a file that lists your important pages so search engines can find and crawl them efficiently. It acts as a roadmap of your site for crawlers.
An XML sitemap lists your URLs along with metadata like last modified date. It helps search engines discover pages, especially on large or new sites.
Recommended, especially for large or new sites with many pages.
Through Google Search Console under Sitemaps.