The size of the pupil is controlled by muscles. There is a circular group, which squeezes the iris smaller, and another group which pulls the iris wider. When more light is needed, the pupil is made larger. In brighter light, the pupil is made smaller. The pupil can be compared with the aperture of a camera. It is surrounded by the iris which is the colored part of the eye.