As an example, take a photo with a relatively new digital camera and open the JPG up with an EXIF reader. In all likelihood, you'll see GPS coordinates, the exact time you took the picture, along with the unique identifier of your camera.
See http://en.wikipedia.org/wiki/Exchangeable_image_file_format#....