A glow stick contains two chemicals and a suitable dye (sensitizer, or fluorophor). This creates an exothermic reaction. The chemicals inside the plastic tube are a mixture of the dye and diphenyl oxalate. The chemical in the glass vial is hydrogen peroxide.