It works by counting the number and quality of links to a page to determine a rough estimate of how important the website is