The document summarizes the major components of how a search engine works: crawling, indexing, and retrieval. Crawling involves using bots to collect data from websites and store it in a database. Indexing organizes and sequences the crawled data for faster searching. Retrieval uses keywords and SEO to accurately resolve ambiguities and return relevant results to users from the indexed data. Search engine optimization helps users find the best results.