When photocatalytic nanomaterials absorb light, they generate electron-hole pairs. These pairs then interact with water and oxygen molecules on the material's surface, leading to the formation of reactive oxygen species (ROS) such as hydroxyl radicals and superoxide anions. These ROS are highly reactive and can degrade organic pollutants or kill bacteria.