1 The pupil controls the amount of light that enters the eye. 2  The lens then focuses the light onto the retina, forming an inverted image. 3  The lens changes its shape to adjust the focus on both distant and near objects, a process called accommodation.