Photosynthesis takes place in chloroplasts, which contain chlorophyll. Chlorophyll is a pigment that gives plant leaves their green colour. This pigment absorbs the sun's energy to use in the process of photosynthesis.