The primary function of chloroplasts is to produce food and energy for eukaryotic cells. The chloroplast absorbs sunlight and combines it with carbon dioxide and water to produce food for plants. Chloroplasts also produce energy stored in NADPH and ATP through a process known as photosynthesis.
The process of photosynthesis occurs directly inside the chloroplasts. The chloroplasts help the cell store and harvest substances required for energy production. Chloroplasts contain chlorophyll, which is a green pigment used to absorb light energy. The chloroplasts are responsible for reproducing independently and for producing food. These cell structures are also responsible for lipid and amino acid production required to produce chloroplast membranes.