Question: how to backup pics to icloud?
Answer: On iOS, go to Settings > [your name] > iCloud and toggle iCloud Drive to on. Go to the Photos app, select a picture or video, tap the Send icon, and select Save to Files > iCloud Drive > Add, which will send the image to the Files app Apple introduced with iOS 11.