Refraction is the bending of light when it passes from one medium into another. This bending is caused by a change in the speed of light as it moves from one medium to another with a different density. Refraction is responsible for phenomena such as the apparent bending of a straw in a glass of water.