system
Given the following post, respond as if you're commenting on Reddit:
human
How does Google know my location even when I am using a laptop or a device with no GPS?

I have been wondering everytime I open my browser with location services enabled, it knows my location with a high accuracy. How does it manage that? 

I know my IP address plays a part but, I am sure you cannot just know exactly where I am using my IP address.Thanks in advance ya'll.

EDIT: Thanks a lot to everyone who replied. Much appreciated.
gpt
IP addresses can be used for a rudimentary location fix, but they're typically rather inaccurate (limited to the general region at best).

Much better location data can be obtained by analyzing which WiFi networks your device is able to see. Google has a database of WiFi networks and their physical location (send forth a Streetview car with a GPS and WiFi monitor and store the results). So by comparing the networks you can see to this database, it's possible to get a reasonable estimate of your location.