Observational astrophysics

An observer takes calibration exposures to characterize detector effects in astronomical images. What is the general purpose of these measurements?