How a photo knows where it was taken
When the camera of a phone may use the location, it writes the GPS position into every photo: latitude and longitude, often the altitude and the direction the camera faced, sometimes how accurate the fix was. These fields sit in the EXIF data of the file. The tool reads them and shows them as coordinates, with the place name when the file carries one.
What the coordinates tell, and what they do not
The coordinates mark where the camera was when the photo was taken, not where the subject was, and they are as good as the GPS fix of that moment. The links open the spot on OpenStreetMap or Google Maps in a new tab. Nothing is sent anywhere until you click one of them.
When a photo has no location
No location in the file does not mean the photo was taken nowhere: it means the file does not say. Location may have been off for the camera, or the photo passed through an app or a website that removed it. Finding a place from the picture itself, from buildings or landscape, is another kind of work that this tool does not do.
Look before you share
Metadata does not show in the picture, but it travels with the file. Email, cloud links, many forums and your own website pass it on as it is; most social networks and messaging apps remove it from photos they show to others, but a photo sent as a file arrives with everything in it. Check a photo here first, and if it says more than you want to share, download the clean copy below the details and send that one.