The following figure shows two air-filled bulbs connected by a U-tude partly filled alcohol. What happens to the levels of alcohol in the limbs X and Y when an electric bulb is placed midway between the bulbs is lighted.
The black colour being a better absorber of heat, bulb × gets more heated due to heat radiated by the electric bulb resulting in the expansion of air inside it. The expanded air requires more space and thus pushes the alcohol towards limb Y