How does a search engine work?

  Have you ever thought how a google can find all of your answer within a fraction of a second? It’s a tail about not only google but of all search engines that are available…