ATP is formed during photophosphorylation. Water does takes part in photosynthesis-oxygen comes from water not from carbon dioxide.
Physics Educator & NEET/JEE Specialist
Ph.D. in Physics with 19+ years of teaching experience.