A sitemap is a file that contains a list of all the pages on a website, organized in a hierarchical manner, which helps search engines and website visitors easily navigate and access the content on the site.