If you try a google search for "RAW vs JPEG" you'll find a lot of information. RAW is the raw data straight from the sensor. JPEG is post-processed and compressed. So a JPEG file can be 5-10x smaller than a RAW file, but at the expense of detail and dynamic range headroom.