The lens of the eye is flexible and can change shape to focus on objects at different distances. This process, known as accommodation, is controlled by the ciliary muscles surrounding the lens. When we look at objects up close, the ciliary muscles contract, causing the lens to become thicker. Conversely, when we look at distant objects, the ciliary muscles relax, causing the lens to become thinner.