These are an important source of additional noise on a CCD. Cosmic rays which strike the detector produce bright and narrow noise spikes in the signal. The effect on the data depends exactly where on the detector the event occurs. The only way to deal with cosmic rays is to break long exposures into several shorter exposures. This has the major disadvantage of increasing the total readout noise.