Chloroplasts are critical for photosynthesis, where plants convert solar energy into chemical energy stored in molecules of glucose.