system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: How does your phone know your location by connecting to Wi-Fi?

When you connect you smart phone to a Wi-Fi connection, it finds you location really accurately, how does it do that?
gpt
It works by crowd sourcing WiFi addresses from smart phones. So when a device with GPS is near by your WiFi device, the address data is sent to Google / Other provider, which is later used to reverse the location from your WiFi address.