Even Google doesn't seem to know
Google knows NOTHING. They just store tons of crap.
They just COUNT clicks on results that come with keywords, and the one with the most clicks by Humans (you do the understanding of the text!) is served most often and highest in the list. Remember that when using it! Lot of information that does not get any clicks can be mighty informative!