The iris is the colored part of the eye that controls the size of the pupil and regulates the amount of light that enters the eye.