Photosynthesis takes place in the chloroplasts, which are special organelles found in the cells of green plants and some other organisms.
Chloroplasts contain chlorophyll, the green pigment that captures sunlight. This light energy is then used to convert carbon dioxide from the air and water from the soil into glucose, a type of sugar that serves as food for the plant. The process also produces oxygen as a byproduct, which is released into the atmosphere. Without chloroplasts, plants would not be able to produce their own food, and life on Earth would be drastically different, as plants are primary producers in most ecosystems.