Raw vs Jpeg difference

The difference between these two is that ” A RAW file is a file containing all of the information recorded by your camera’s sensor during exposure. … In contrast, a JPEG file is a file that has been compressed by your camera, and does not contain all of the information recorded by your camera’s sensor during exposure. “
A RAW image contains wider dynamic range and color gamut compared to a JPEG image. Also any of these are good it all depends on how you use it and how you make it work.