How It's Done?
By extracting Exchangeable image file format stored on each of your photographs.
When
Photograph's taken date used to determine when photograph's date. Most of the camera/cell phones save this data without any setting.
Where
Photograph's coordinate data is sent to selected third-party reverse geocode provider to build a address.
Most of the cameras and cellphones have GPS receiver on them. You need to be sure that on settings something like Save GPS location
should
be enabled.