Google's exact search algorithm are not fully disclosed but generally use relevance, keyword matching and user experience.
Google uses data from user search history and interactions to personalize search results. So that the user can get a proper and user friendly result.
While many ranking factors are known like page load speed and mobile friendliness but how Google's ranking page is not publicly available.
Click here