Explanation:
during photosynthesis, carbon dioxide and water are taken in by the autotrophs and energy is produced in the form of glucose, which is stored in plants in the form of another moleculecalled as sucrose. Know that oxygen is just a byproduct thus formed after photosynthesis.
during aerobic repiration oxygen and glucose are consumed to give energy as in ATP, adenosine triphosphate, and water. and carbon dioxide is a waste product