Which compound is formed because of the process of photosynthesis