Raw is the highest possible quality.

Raw files allow better exposure and brightness control

Raw allows the photographer to adjust the white balance.

Raw allows the best non-destructive editing.