Summary
iPhones save photos in the HEIC format by default, which your instructor or fellow classmates may not be able to open. This article explains how to export individual photos as JPG or PNG, and how to change your default camera settings so that all new photos save in a more compatible format.
Body
Overview
By default, iPhones save photos in the HEIC format, which may not be compatible with all devices or websites. You can convert HEIC photos to JPG or PNG when exporting, or adjust your camera settings so that future photos save in a more compatible format.
Here's How
Exporting an individual photo as JPG or PNG
-
Open the Photos app on your iPhone.
-
Select the photo you want to share or export.
-
Tap the Share (export) icon. 
-
At the top of the screen, tap Options.
-
Under Export As, choose Most Compatible.
-
Complete your export or share. The photo will be saved in JPG format instead of HEIC.
Changing your default camera format
-
Open the Settings app.
-
Scroll down and tap Camera.
-
Tap Formats.
-
Choose Most Compatible.
-
New photos and videos will save as JPG, PNG, JPEG, or H.264.
-
To save space using HEIF or HEVC formats, switch back to High Efficiency.
Additional Resources
For more information, head to the latest Apple Support article discussing this: Apple Support: Using HEIF or HEVC media on Apple devices.