When sucrose based candies are compressed (chomped) they emit light. Triboluminescence [local] describes the emission of light in the visible spectrum due to the excitation of atoms and molecules via a mechanical action like chewing.
The experiment and its theory [local] explained.