Search engines assign a relevance score to each web page based on a given keyword. This score is determined by algorithms integrated into the search tools. When a query is performed, the organic results are then displayed in descending order of relevance, based on this score assigned by the search engines.