Refraction is when light or sound bends when it travels through a medium, an example of a medium is glass.