What role does hydrogen play in the process of photosynthesis?