List the inputs and outputs of photosynthesis. What part(s) of the plant are responsible for taking in each of the output