The primary purpose of photosynthesis is:
a) to make sugars and store energy.
Photosynthesis is the process by which plants, algae, and some bacteria convert light energy, usually from the sun, into chemical energy in the form of glucose (sugar), which can then be used for energy and growth. While it does produce oxygen as a byproduct, the main goal of photosynthesis is to create sugar and store energy.