How does SEO work ?
Bots are used by search engines like Google and Bing to crawl online pages by moving between websites, gathering data about them, and indexing them. Imagine the index as a huge library where a librarian can bring up a specific book (or web page) to assist you find it at the moment.
The order in which pages should appear in the search results for a particular query is then determined by algorithms that examine sites in the index while accounting for hundreds of ranking criteria or signals. In our hypothetical library, the librarian has read every single book there and is able to pinpoint which one would provide the solutions to your problems.