And what decides if a article is "legit and important"? If some other legit and important article links to it, of course!
And so we continue, until only the bottom-feeding "high quality" is left at the top of the search result, which is generally boring but "correct" content.