the wave bends and continues at a different angle when it passes through the boundary from one medium into another
Short wavelengths (violet) of light are refracted more than longer wavelengths (red). This is why a spectrum is
formed from white light passing through a prism. This is called “light dispersion”.