The diagram shows two air filled bulbs connected by a U-tube partly filled with a low density (or light) oil. How the levels of oil in the limbs X and Y change after the electric bulb is lighted
.
The level of oil in limb X falls while in limb Y, the level of oil rises.
Black bulb absorbs heat, so air inside expands and pushes down the oil of limb X which passes to the limb Y.