How does a Lava Lamp Work?

Lava lamps contain two liquids that are not able to be dissolved in each other. The light at the bottom raises the temperature of the bottom liquid so that it rises. When the liquid reaches the top, it cools down and sinks.