In which two parts of a chloroplast does photosynthesis take place?

Inside the stroma ad the thylakoids.