An XML sitemap is a file that lists all the important URLs on your website, helping search engines like Google and Bing discover and crawl your content more efficiently. It acts as a roadmap, guiding crawlers through your site structure and ensuring no important pages are missed during indexing.