Googlebot is Google’s search bot that crawls the web and creates an index. It’s also known as a spider. The bot crawls every page it’s allowed access to, and adds it to the index where it can be accessed and returned by users’ search queries.
for more detail, you can read herehttps://blog.kissmetrics.com/googlebot-optimization/