How does the eye adjust itself to deal with light of varying intensity?
The amount of light going through the pupil to the retina is regulated by the iris. If the intensity of the outside light is low, then the pupil expands to allow more light to enter the eye. If the outside intensity is high, then the pupil contracts so that less light enters the eye.