Phones add EXIF data to every photo by default. It can include the exact place the photo was taken, which can reveal a home address when a photo is shared as a file.
Most large social networks remove EXIF on upload, but email attachments, cloud links and many websites keep it. You can view and remove it before sharing.