The function of the lens of the eye is to focus light on the retina.