The energy is produced in the chemical reaction and when all the phosphorous has been oxidised no more light is emitted.
(The energy; is produced; L:in the chemical reaction) (all the phosphorous; has been oxidised; ) (no more light; is emitted; T:when all the phosphorous has been oxidised)
The energy all the phosphorous no more light
is produced has been oxidised is emitted
L:in the chemical reaction
T:when all the phosphorous has been oxidised