It is a complex multistep process that is well described at http://faculty.clintoncc.suny.edu/faculty/michael.gregory/files/bio%20101/bio%20101%20lectures/photosynthesis/photosyn.htm
You can ask a new question or answer this question.