How the search engine works

Google,Yahoo ETC