Older iPhones store photo files as JPEG. Newer iPhone cameras take pictures in HEIF format. If you want to shoot a JPEG photo, you can change your preferences in the Camera Settings app.