Refraction occurs when light travels through an area of space that has a changing index of refraction; this principle allows for lenses and the focusing of light. The simplest case of refraction occurs when there is an interface between a uniform medium with index of refraction n 1 and another medium with index of refraction n 2. In such situations, Snell's Law describes the resulting deflection of the light ray: