A rainbow isn’t really a “thing” and it doesn’t exist in a particular “place.” It is an optical phenomenon that appears when sunlight and atmospheric conditions are just right—and the viewer’s position is just right to see it.
When can you see a rainbow?
A rainbow requires water droplets to be floating in the air. That’s why we see them right after it rains. The Sun must be behind you and the clouds cleared away from the Sun for the rainbow to appear.
Why is a rainbow a bow—or arc?
A full rainbow is actually a complete circle, but from the ground we see only part of it. From an airplane, in the right conditions, one can see an entire circular rainbow.
What happens in the water droplets?
The sunlight shines on a water droplet. As the light passes into the droplet, the light bends, or refracts, a little, because light travels slower in water than in air (because water is denser). Then the light bounces off the back of the water droplet and goes back the way it came, bending again as it speeds up when it exits the water droplet.
Why the colors?
Sunlight is made up of many wavelengths—or colors—of light. Some of those wavelengths get bent more than others when the light enters the water droplet. Violet (the shortest wavelength of visible light) bends the most, red (the longest wavelength of visible light) bends the least. So when the light exits the water droplet, it is separated into all its wavelengths. The light reflecting back to you, the observer with the Sunlight coming from behind you, from the water droplets will appear separated into all the colors of the rainbow! Violet will be on the bottom and red on the top.
What makes a double rainbow?
Sometimes you can see another, fainter secondary rainbow above the primary rainbow. The primary rainbow is caused from one reflection inside the water droplet. The secondary rainbow is caused by a second reflection inside the droplet, and this “re-reflected” light exits the drop at a different angle (50° instead of 42° for the red primary bow). This is why the secondary rainbow appears above the primary rainbow. The secondary rainbow will have the order of the colors reversed, too, with red on the bottom and violet on the top.