Photocorrosion occurs when the photoexcited charge carriers (electrons and holes) in a semiconductor react with the material itself instead of the target reactants. This internal reaction can cause the semiconductor to degrade or dissolve. Commonly, photocorrosion involves the oxidation of the material by the holes generated during light absorption, leading to the formation of soluble species.