 It works by providing webmasters with JavaScript code that, when inserted into webpages, displays relevant advertisements from the Google inventory of advertisers.The relevance is calculated by a separate Googlebot, that indexes the content of a webpage.Recent technology/service providers have emerged with more sophisticated systems that use language-independent proximity pattern matching algorithm to increase matching accuracy.