Which of these is the reasons organisms perform photosynthesis?

absorb water
release oxygen
produce glucose
take in carbon dioxide