The equation for cellular respiration is as follows:
C6H12O6 + 6O2 --> 6CO2+6H2O + energy
This equation pretty much explains everything. When taking in sugar and oxygen, your products are carbon dioxide, water, and energy,
Hope that answered your question.