Cutaway of the eye showing light passing through the cornea and lens to the retina, then a signal travelling along the optic nerve.

The cornea bends incoming light. It passes through the pupil to the lens.