Photocatalytic hydrogen production technology represents one of the most significant approaches for addressing the energy crisis and environmental pollution. Cadmium sulfide (CdS), with its appropriate bandgap and adjustable surface structure, has been extensively utilized in photocatalytic hydrogen production.