Most smartphones have GPS’s built into them. That GPS puts the location the picture was taken. So if you take a picture of your new car at your house, a thief might note the location needed to rob your car.
Or if you post pictures of your house and you announce you are on vacation, you again have given someone the map to your house.
Most phones have the ability to disable this feature. Make sure to disable this feature before posting to the Internet.