The rainbow is formed opposite to the sun to receive the sunlight.
The raindrop goes about as a prism or a Spectrum when sunlight falls on it.
At the point when sunlight goes through the raindrop, all the seven hues (VIBGYOR) structures are formed a similar way it structures when a light goes through a prism.
Accordingly, the rainbow is inverse to the sun to get the sunlight.
Sunlight is a blend of color. At the point when it goes through a glass prism, a portion of the light is twisted, or refracted, more than different bits.
Light leaving the prism spreads out into a continuous band of colors called a spectrum.
Rainbows are much of the time found in the wake of a rainstorm. They come when the sunlight breaks through rain clouds.