What takes place during photosynthesis by a plant?

Photolysis of water and assimilation of CO2 to make organic compounds