Google's search engine consists of 3 main parts: Googlebot the web crawler, the indexer that sorts words from crawled pages into a database, and the query processor that compares search terms to the index to return relevant results. Googlebot simultaneously crawls thousands of pages using links and submissions to comprehensively index the web. The indexer ignores common words and stores each word with linked pages. The query processor uses algorithms like PageRank and proximity to return the most relevant results matching search terms and phrases.