What is the importance of photosynthesis and respiration?