step: refraction is when light bends and is split into lights of different color & the rainbow is made of all different colors in visible light
inference: a rainbow is formed by refraction of light by splitting light into all different colors