The iris controls the amount of light that enters the eye by changing the size of the pupil.