Under illumination, AgCl is easily reduced to metallic Ag by electrons (Ag+ → Ago). To inhibit the the photocorrosion of AgCl, combine AgCl with other materials to form heterojunction in composites, which can improve lifetimes of photogenerated carriers and stability of the catalysts.