Devices these days are advancing allowing for more image file formats just like a pro camera has.
JPEG - the standard compressed file format you're used to shooting on
TIFF - a lossless file format that retains all the image details in various layers
RAW - a lossless, high-quality file format loved by the pros
RAW is a particular image file, available on most newer mobile devices, that captures all image data recorded by the camera’s sensor when the image is taken. Alternatively, when shooting in a format like JPEG, the image information is compressed and lost, often resulting in lower quality imagery. Because no information is being compressed under RAW format, you’re able to create higher quality photographs, as well as correct problem areas that would be otherwise unrecoverable if shot in JPEG.
Shoot your photos in RAW to capture greater detail and have a better base image to edit.