Apple provides 5 GB of free iCloud storage to each user. Once this limit is reached, additional photos and data will not be uploaded to iCloud unless you upgrade your storage plan. If you delete photos from your device, they are moved to the "Recently Deleted" folder and permanently erased after 30 days. To ensure your memories are preserved, it's recommended to regularly back up your photos using the FOREVER® app to automatically upload images from your mobile device.
For users who opt for a paid iCloud storage plan, the same deletion policy applies: photos removed from any synced device are placed in the "Recently Deleted" folder and permanently deleted after 30 days. Therefore, it's crucial to maintain regular backups to prevent unintended data loss.
For more information on managing your iCloud storage and backups, refer to Apple's official support page: Locate backups of your iPhone, iPad, and iPod touch.