Values in file csv

Please, what is the difference between pixel intensities and digital number?

When I obtain from Snap, for example, an image in jpeg, not file csv, in matlab there are 256 gray level for X-axis in hystogram because image is already quantized, is it correct?

When I use file csv there should be along X-axis values of pixel intensities i.e values of the band because amplitude is the measurement of SAR sensors, is it right?

Thank you very much.