Fact 1: a rainbow is formed by refraction of light by separating light into all different colors. 
Fact 2: Refraction is the bending of light.
a rainbow is formed by bending of light by separating light into all different colors.