The light reaction breaks:
Water into oxygen to generate ATP
Light reaction breaks water molecules apart to generate oxygen. This requires energy, which is obtained from sunlight which is used to power the production of ATP, the energy currency of the cell.