When you burn anything with hydrogen and carbon, the products of combustion is water (H2O) and carbon dioxide (CO2). A tree uses H2O, CO2 and sunlight in the photosynthesis process to make the sugar (glucose)... that is how the wood is made, from sugar. When you burn a stick of wood the hydro-carbons burn which produce water and carbon dioxide, eventually you are left with carbon and only carbon (and minerals... ash) in the tin can.