Another important type of reaction, in addition to the four types above, is that of the combustion of a hydrocarbon. When a hydrocarbon is burned with sufficient oxygen supply, the products are always carbon dioxide and water vapor. If the supply of oxygen is low or restricted, then carbon monoxide will be produced. This is why it is so dangerous to have an automobile engine running inside a closed garage or to use a charcoal grill indoors.
Hydrocarbon (CxHy) + O2(g) --> CO2(g) + H2O(g)
Ex. CH4(g) + 2O2(g) --> CO2(g) + 2H2O(g)
Ex. 2C4H10(g) + 13O2(g) --> 8CO2(g) + 10H2O(g)
NOTE: