When a user searches for something location-based, search engines display results based on that user’s proximity to businesses in the area. Nearby businesses are then ranked by other factors like the number of listings in directories, reviews, average review score, and more.