The iris adjusts the size of the pupil to control the amount of light reaching the retina.