The heterojunction formed separates the photogenerated holes and electrons and prevents them from recombining. The electron from the conduction band reacts with the surface-adsorbed oxygen to form superoxide radicals and the hole in the valence band reacts with the water molecules to form hydroxyl radicals. Both this radical reacts with the dye molecules to form degraded products which are nontoxic in nature .