explain the role of the process of photosynthesis and cellular respiration in the movement of matter and energy in a food web