JPG and RAW
By default, most cameras shoot in the JPG file format.
The camera processes the image for us and delivers something that looks good and is a small file size, perfect for emailing or sharing with people.
The downside is that we end up with a stripped down version of what the camera actually captured. Instead of a broad range of colors, it combines their different shades and hues, throwing away vital image we may want later.
The RAW format is just what it sounds like.
It is the complete unprocessed image that was captured by the camera's digital sensor. It is much larger file size than a JPG and by far, it is the superior format.