At the same time, ATP is produced through photolysis, where light energy is used to split water molecules into oxygen and hydrogen atoms. The hydrogen then combines with ADP to form ATP, releasing energy that can be used for other metabolic activities. This is an example of a catabolic reaction as it breaks down molecules to release energy.