A beaker is filled with cyclohexane, then bromine is added to it. The exothermic reaction only occurs in UV light: The products are mainly bromocyclohexane and hydrobromic acid. The heat causes the remaining cyclohexane to boil: $C_6H_{12} + Br_2 \rightarrow C6H_{11}Br + HBr$