A mixture of hydrogen gas and chlorine gas remains unreacted until it is exposed to ultraviolet light from a burning magnesium strip. Then the following reaction occurs very rapidly:
$$\mathrm{H}_{2}(g)+\mathrm{Cl}_{2}(g) \longrightarrow 2 \mathrm{HCl}(g)$$
Explain.