Which part of the eye shrinks and enlarges depending on the amount of light that is present?

visual cortex

retina

cornea

pupil