Light can alter chemical compounds by inducing photoactivation or photodegradation. Photoactivation refers to a compound becoming more reactive or toxic upon exposure to light, often leading to the formation of free radicals or other reactive species. Photodegradation, on the other hand, involves the breakdown of compounds into less harmful substances, reducing their toxicity.