One reason for this is the built-in defense ability that the eyes possess. Through the coordinated efforts of the pupil, iris, retina and the optic nerve, the eye can adapt to a variety of light conditions, including a flashlight. Here's how your eyes work to protect you from these acts of curiosity. Your Pupils. The pupil is the portal through which light and images enter the eye.