An iCloud account allows you to share data between all of your Apple devices, syncing them regularly. You can also access your data in iCloud from a Windows PC. By using the iCloud website or an appropriate Windows utility, you can access your photos and other iCloud data from any computer.
Steps
Method 1 of 2: Using the iCloud Website

Step 1. Go through the authorization procedure on
www.iCloud.com with your Apple ID.
You can access iCloud Music Library from any computer using the iCloud website. Make sure to sign in with the Apple ID you want to access the iCloud library for.

Step 2. Select the "Photos" menu
This will open your iCloud Music Library. It will take a while if you are doing this for the first time.

Step 3. Browse your iCloud Music Library
Immediately after downloading the "Photos" section, you will be available to view images from all devices connected to iCloud. Photos just taken with your device are not instantly displayed here as it takes a few minutes to do so.
- The Moments tab displays the most recent photos you've taken, sorted by date.
- The Albums tab will allow you to see all the photo albums you have created.

Step 4. Click on the photo to see it in full size
Click on the photo in the browser: you can see it in real size.
Press the "" buttons to move to the previous or next photo in the album

Step 5. If you want to delete the photo, click on the button with the image of the trash can
It is located in the upper right corner. Removing it from iCloud removes the photo from all synced devices.

Step 6. Press the "Select Photo" button to select several images at once
After activating the Select Photo menu, you can click on each photo to select. This action will download several photos at one time.

Step 7. Click "Download" to download the images
This action will download the photos to your browser's default folder for this purpose, which is usually the Downloads folder.

Step 8. Click "Delete" to delete the selected photos
All selected photos will be deleted from all synced devices.

Step 9. Click "Add" to add the selected photos to the album
You can choose one of the existing albums or create a new one using the pop-up menu.
Method 2 of 2: Using iCloud for Windows

Step 1. Download the iCloud installer for Windows
After installing iCloud for Windows, your iCloud photos will be synced to a dedicated folder on your computer. This will make it very easy to access your photos just like any file on your computer.
You can download the installer from here: support.apple.com/en-us/HT204283

Step 2. Run the installer and accept the license agreement
After reading and accepting the license agreement, the iCloud for Windows app will begin to install directly.
You can find the installer in your browser's download folder. This is usually the Downloads folder

Step 3. Wait for iCloud for Windows to install
It will take a few minutes.

Step 4. Launch iCloud for Windows and log in with your Apple ID
You will be prompted to log in the first time you start the program.
You can quickly launch iCloud for Windows by pressing the ⊞ Win key and entering "iCloud"

Step 5. Check the "Photos" box
This will signal iCloud to start syncing your iCloud Music Library with your Windows computer. iCloud will create a dedicated folder for all your iCloud photos that you can easily access using Windows Explorer.
You can also check other iCloud data that you would like to sync with your computer

Step 6. Click "Apply" to save the changes
iCloud will create an iCloud Photos folder on your computer and start uploading your iCloud Music Library there. If it is large, it will take some time.

Step 7. Find the "iCloud Photos" folder
You can navigate to the iCloud Photos folder very easily using Windows Explorer (⊞ Win + E). Find the iCloud Photos folder in the Favorites section of the sidebar or in the Computer / My Computer window.

Step 8. Add photos to iCloud Photo Library to display on other devices
Any images you add to your iCloud Photos folder on your Windows PC will automatically upload to your iCloud Photo Library and will be available to any of your iCloud-connected devices. You need to wait a few minutes before new photos appear on other devices.

Step 9. Delete the photos from the "iCloud Photos" folder to remove them from all devices
Any images you check out from your iCloud Photos folder are permanently removed from your iCloud Music Library on all your devices.