Fermentation if oxygen is not present
Photosynthesis
Photosynthesis is the production of ATP through the conversion of energy from sunlight using chlorophyll.
Chlorophyl is found in plants, and plants use sunlight to make energy.
That energy is in the form of ATP.
I'd go with the third one because the products of both of them are oxygen and carbon dioxide.