How do Search Engine Works?

Search Engines works by crawling. They crawl the websites and create copy in cached version and save in database (data centers). This process is called Website Indexation.