A sitemap.xml is an XML file listing a website’s URLs. It helps search engines discover, crawl, and index content efficiently, providing metadata like last-modified dates and page priority to improve SEO and site visibility.