In the electron transport chain

protons are pumped into the intermembrane space

water is split into oxygen and hydrogen

electrons combine with oxygen to form carbon dioxide,carbon dioxide

combines with water to form glucose