how does location affect searches and rankings

how does location affect searches and rankings