You need to manage iCloud storage Manage your iCloud storage - Apple Support and set up photo library Set up and use iCloud Photos - Apple Support
When you turn on iCloud Photos, your photos and videos are uploaded to iCloud automatically. They're not duplicated in your iCloud backup, so you should keep backup copies of your library. Use the steps below to download copies of your photos and videos to your Mac or PC. Or you can import your library to your Mac or PC.Â
Download your photos and videos from iCloud.com
- On iCloud.com, click Photos.
- Select the photos and videos you want to download.Â
- Click and hold the download button  in the top right-hand corner of the window. If you want to download your content as it was originally captured or imported, choose Unmodified Original. For JPEG or H.264 format – including edits and even if it was originally in HEIF or HEVC format – choose Most Compatible.
- Click download.