What does Refraction Mean in Terms of Rainbows?

In terms of rainbows, refraction means bending of light when passing from one of the seven media to another. The seven media equates to the colors of the rainbow: red, orange, yellow, green, blue, indigo, and purple.