In the combustion reaction methane (CH₄) will react with oxygen (O₂) to produce carbon dioxide (CO₂) and water (H₂O).
CH₄ + O₂ → CO₂ + H₂O
To balance the chemical equation the number of atoms of each element entering the reaction have to be equal to the number of atoms of each element leaving the reaction, in order to conserve the mass.