In a solar photochemical process, hydrogen can be produced by electrolysis. To use sunlight in this process, a photoelectrochemical cell can be used, where one photosensitized electrode converts light into an electric current that is then used for water splitting.