iCloud Photos
When you set up your device to use Photos with iCloud, you can turn on the iCloud Photos feature (previously called iCloud Photo Library).
With iCloud Photos, all the photos and videos from your device are stored in iCloud. You can access them from any device where you are signed in with the same Apple ID and the iCloud Photos feature is turned on. When you edit, organise or delete a photo or video on one device, those changes appear on all your devices.
For more information, see Share photos and videos and keep them up to date with iCloud.