The purpose of a search engine is to return the best possible URL result when a user types a query into the search box. One way a search engine evaluates URLs is by checking who else thinks that result is good. If other websites link to that URL, it’s a sign of approval. More links mean more approval, so search engines will rank that URL higher.