The iris regulates the amount of light that enters your eye by adjusting the size of the pupil opening.