A sitemap is a file that lists all pages of a site for search robots. It helps Google and Yandex find new and updated pages faster.
In plain words
A sitemap is a map of the site for search engines. Usually it is a sitemap.xml file that lists page addresses and often the dates they were updated. Visitors do not see it; it is meant for robots.
A robot can find pages on its own by following links. But if a page is buried deep or has just appeared, the map speeds things up: the robot knows right away where to go.
On WordPress the sitemap is created automatically and updated when new posts are added. Its address is entered once in Google Search Console and Yandex Webmaster.
An online building materials store added a hundred new products. Thanks to the sitemap, search engines found them within a few days instead of waiting to reach them through links.