The spray is produced by a reaction between two chemical compounds, hydroquinone and hydrogen peroxide, stored in separate reservoirs in the beetle's abdomen and mixed when needed in a third chamber with water and catalytic enzymes. Heat from the reaction brings the mixture to near the boiling point of water and produces gas that drives the ejection.