physicsHow raindrops separate sunlight into a rainbow
A rainbow forms when sunlight bends as it enters raindrops, reflects inside them and bends again on leaving. Different colours bend by different amounts, so they emerge in different directions. You see an arc because only droplets at particular angles send each colour towards your eyes.