Dear Student
A rainbow is a natural optical phenomenon that is created by reflection, refraction and dispersion of light which splits into seven component colors represented by VIBGYOR through water droplets which are present in the atmosphere during rain resulting in a spectrum of light appearing in the sky. ... Rainbows are caused by reflection and refraction of sunlight through water droplets and always appear in the section of sky directly opposite to the sun.
Regards