Exposure compensation is the amount of light that the sensor of the camera is exposed to whereas ISO is the measure of the sensitivity of the image sensor.