As far as I remember, RAW provides the option to bump the exposure a bit after shooting, which is not possible with jpeg. That's what I was referring to by 'much more detail'. Also, when you save a jpeg file, it is recompressed, especially the bits you edited. Try opening, saving and closing the same jpeg file a couple of times and you'll see.