An XML sitemap is a file that lists the important URLs of a website so search engines can discover and crawl them. It can include last-modified dates and is submitted through Google Search Console.
For eCommerce, it should contain only indexable, canonical URLs, excluding filters, internal search pages and out-of-stock pages you do not want ranked.