Rainbows happen when sunlight plays hide and seek with water droplets in the air. The light bends (like a straw in a glass of water) as it goes through the drops, splitting into colors like a prism. This creates the colorful arc you see in the sky, and if you're lucky, even a double rainbow!