The process of photosynthesis require carbon dioxide and water in the presence of sunlight and the product formed is glucose and oxygen (byproduct).
This glucose is broken down in the presence of oxygen and energy released is stored in the form of adenosine triphosphate.
The carbon dioxide that is used by plants is released by animals and oxygen, carbohydrate is given by plants to animals for the process of cellular respiration.
In the above two processes water is only required in photosynthesis not in cellular respiration.
solar energy is harvested as chemical energy in a process that converts water and carbon dioxide to glucose. Oxygen is released as a byproduct. In cellular respiration, oxygen is used to break down glucose, releasing chemical energy and heat in the process.