Chemiosmosis occurs in the chloroplast during the photosynthesis and in the mitochondria during the respiration.