Which of the following groups of organisms uses sunlight to convert carbon dioxide and water into sugar and oxygen?

a. producers
b. decomposers
c. carnivores
d. herbivores