This question already has an answer here:
I have been reading some tutorials and documentation on Rawtherapee software, specifically its exposure compensation.
I am curious how exposure is correctable after the RAW image is captured?
For example, if I take a photo of clouds that is overexposed and there is a white clipped area, how can rawtherepee correct that clipped area if all it know is that there is a bunch of white pixels. How can it restore the white pixels to non-white?
Is exposure just a post process value that is contain in the raw file, but not a characteristic of the actual raw sensor data? If this is the case, why even apply exposure in a RAW image and not just always after the fact?
If my question seems unclear it is probably because my conceptions are unclear to begin with.