Chlorophyll is the chemical that gives plants their green color. It is also the chemical responsible for absorbing sunlight and creating carbohydrates for the plant's nutrients from CO2 and Water.
Chloroplasts absorb sunlight and are a plastid in green plant cells that contains chlorophyll. It is where photosynthesis happens. Chloroplasts are organelles in algal and plant cells.