When sunlight reflects on an oily puddle of water in a parking lot, it creates a rainbow of swirling colors. That's because of the thin film interference principle, which explains how light reflects off of different layers, or films, in a mixture of liquids.