If you use Google’s Location services, your device sends information to Google about its location, sensors (like accelerometer) and nearby cell towers and Wi-Fi access points (such as MAC address and signal strength). All these things help to determine your location.