Rainbows are an optical illusion caused by sunlight and water droplets.
Find out more about these phenomena: