When threatened, the beetle contracts muscles that force the two reactants through tubes into a mixing chamber containing water and enzymes. The reactants undergo a violent chemical reaction which gives off heat. This raises the temperature to near the boiling point of water.