In the figure given below, a narrow beam of white light is shown to pass through a triangular glass prism. After passing through the prism, it produces a spectrum XY on the screen.

(i) Name the phenomenon.
(ii) State the colours seen at X and Y.
(iii)Why do different colours of white light bend at different angles through a prism?