Photosynthesis occurs in both prokaryotes and eukaryotes. How do the locations where photosynthesis occurs differ in prokaryotes and eukaryotes? A. Photosynthesis takes place on the folds of the cell membrane in prokaryotes, and in specialized organelles like chloroplasts in eukaryotes. B. Photosynthesis takes place in specialized organelles like chloroplasts in prokaryotes, and on the folds of the cell membrane in eukaryotes. C. Photosynthesis takes place in specialized structures called pili in prokaryotes, and outside of the cell wall in eukaryotes. D. Photosynthesis takes place outside of the cell wall in prokaryotes, and in specialized structures called pili in eukaryotes.