Chemiosmosis is the process by which ATP is synthesized in the chloroplast during the photosynthesis.