Here's a breakdown of why this happens:
* Light travels at different speeds in different mediums. For example, light travels faster in air than in water.
* When light passes from one medium to another, its speed changes. This change in speed causes the light to bend.
* The amount of bending depends on the angle at which the light hits the boundary between the two mediums and the difference in the speed of light in each medium. This difference is represented by the refractive index of each medium.
Here's an analogy to help understand:
Imagine you're walking on a sidewalk and then suddenly step onto a patch of grass. The grass slows you down. If you hit the grass at an angle, your path will bend, with the change in direction more pronounced the more angled your approach. Light behaves in a similar way when it moves from one medium to another.
Examples of refraction:
* A straw in a glass of water appears to be bent at the surface of the water.
* A rainbow is formed by refraction of sunlight through water droplets in the atmosphere.
* Lenses in cameras, telescopes, and eyeglasses use refraction to focus light.
Let me know if you'd like to explore any of these examples in more detail!