 Light rays bend when they travel from one medium to another; the amount of bending is determined by the refractive indices of the two media.If one medium has a particular curved shape, it functions as a lens.The cornea, humours, and crystalline lens of the eye together form a lens that focuses images on the retina.