During photosynthesis, what is the primary source of energy used to convert carbon dioxide and water into glucose and oxygen?

a. Heat energy
b. Chemical energy
c. Electrical energy
d. Light energy

d. Light energy