Chloroplasts are responsible for photosynthesis, the process by which plants convert light energy into chemical energy in the form of sugars.