The process of photosynthesis mainly takes place in the leaves, specifically in the chloroplasts. These chloroplasts contain thylakoids responsible for absorbing sunlight and carbon dioxide. The thylakoids have chlorophyll, which imparts the green colour.
The part of the plants that contains structures needed to absorb sunlight and carbon dioxide is the leaf. The cells inside the leaf contain many green organelles called chloroplasts. Inside each of these chloroplasts are stacks of structures called thylakoids, which contain the green pigment called chlorophyll. Chlorophyll is crucial in photosynthesis, as it absorbs sunlight needed to power the light-dependent reactions of the process.