The correct answer is D. The cell obtains the needed energy from sunlight.
In the process of photosynthesis, plants, algae, and some bacteria convert carbon dioxide and water into glucose and oxygen using sunlight as the energy source. The energy from sunlight is captured by chlorophyll, the green pigment in plant cells, which allows the photosynthetic organisms to transform light energy into chemical energy stored in glucose.