A lens is a transparent optical device that focuses or disperses a light beam by means of refraction. To function as a lens, a material must be transparent and have a refractive index that allows for bending of light.