How does the eye change in order to focus on near or distant objects?

The shape of the lens is changed by ciliary muscles so that the image forms at a sharp focus at the retina. The lens becomes thicker to focus at near objects and becomes thinner to focus at distant objects.

92