The function of the pupil is to moderate how much light enters the eye. Too much light can damage the eye, but too little means your cat will struggle to see. The pupil dilates and constricts to change size and makes these changes according to light levels.