Why to use SiteMap and what is its purpose

SiteMap describe the structure of the site and so that site navigation API and the site navigation controls can expose the site structure properly.By default its contains a XML file but we can use alternative data sources for this.