The speed of light changes when moving from one means to another
A lens is an optical system composed of three homogeneous and transparent media, separated by two curved surfaces or a curved surface and a flat one.
Understanding geometrical optics allows one to build different optical instruments. There are also many optical instruments in nature, but the most important one, for us, is the eye.