Which statement summarizes the main purpose of photosynthesis?

Which statement summarizes the main purpose of photosynthesis?

a. It converts gases to solids in the form of sugar.
b. It converts carbon to oxygen.
c. It converts light energy to chemical energy.
d. It converts energy to mass.