Internet search engines work by having robots called spiders crawl the web and index websites page content and metadata. The search engines then analyze the indexed webpages to determine how to rank search results based on over 200 factors like popularity and relevancy. When a user searches, the engine returns relevant results based on the keywords and how pages were ranked in the index.