Physics (10th Grade)

Light

What is the reason for the bending of light when it passes from one medium to another?