Search engines crawl the web, store the discovered content, and then serve the most useful results.