The refraction takes place if the speed of light rays changes after interacting with matter.
It is the natural phenomenon in which when light moves from one medium to another, the light rays bend.
The light rays bend because the speed of light changes when light moves from one medium to another.
The speed of light decrease when light enters into a medium with a higher density.
Therefore, the refraction takes place if the speed of light rays changes after interacting with matter.
Learn more about the refraction:
https://brainly.com/question/1332959