What is the main use of the XML site map?

Hi, I have a question in xml sitemap

How to create what is the use?