Accommodation is the ability of the eye to focus on objects at varying distances from the eye. This is achieved by changing the focal length of the lens of the eye using the ciliary muscles. This ability varies with age of the individual and state of tiredness and also with the luminance of the visual scene.