Photolysis is a specific type of photodissociation where the molecule is split up by a photon.
The splitting of water into hydrogen and oxygen is called electrolysis.