A sitemap is a file (usually .XML) that lists all the pages on a website. It helps search engines crawl and index the site’s content efficiently by understanding the site architecture and hierarchy. It’s best practice to upload XML sitemaps in Google Search Console.