How search engine works?
Most search engines build an index based on crawling, which is the process through which engines like Google, Yahoo, and others find new pages to index. Mechanisms known as bots or spiders crawl the Web looking for new pages. The bots typically start with a list of website URLs determined from previous crawls. When they detect new links on these pages, through tags like HREF and SRC, they add these to the list of sites to index. Then, search engines use their algorithms to provide you with a ranked list from their index of what pages you should be most interested in based on the search terms you used.
Then, the engine will return a list of Web results ranked using its specific algorithm. On Google, other elements like personalized and universal results may also change your page ranking. In personalized results, the search engine utilizes additional information it knows about the user to return results that are directly catered to their interests. Universal search results combine video, images and Google news to create a bigger picture result, which can mean greater competition from other websites for the same keywords.