A sitemap is an XML file listing the URLs a site wants indexed, with metadata that helps crawlers prioritize and re-crawl.
The sitemaps protocol is simple. /sitemap.xml contains a <urlset> with one <url> per page. Each <url> has at minimum a <loc> (the absolute URL), and optionally <lastmod> (ISO 8601 date), <changefreq> (always, hourly, daily, weekly, monthly, yearly, never) and <priority> (0.0–1.0). For multilingual sites, each <url> can also carry <xhtml:link rel="alternate" hreflang="…" href="…"/> entries, which tell crawlers that the URL has equivalents in other languages.
A sitemap is a hint, not a contract. It does not guarantee indexing. It accelerates discovery, especially for large sites where crawlers might otherwise miss new pages.