I believe that there is a spectrum of light in which we can see. When the white light enters the prism, it is refracted and bends into the visible light we can see of the spectrum.
The reason we always see the spectrum in the same order is because it is how our brain perceives it. Animals could see it in a different order, etc. This is just how the human brain sees it.