I want to understand on what basis do the search-engines organize and rank the results that are shown when a user asks for a search keyword to engines like yahoo/google. Also, how did the term "Organic" got associated to these results? Are organic results purely an output of "perfect-competetion" (as they say in Economic), or do they also have to pay to get included in results though to a lesser degree than paid results ?