A sitemap is a hierarchical list or diagram that represents the structure of HTML pages on a website. It is used to plan the logical presentation of content for users, visualize user paths, and organize content to help achieve business goals. There are two common types of sitemap diagrams: a horizontal tree diagram and a vertical tree diagram. Examples of sitemaps show hierarchical relationships between pages through visual diagrams.