The compounds formed during the combustion of a hydrocarbon are carbon dioxide and water. Hydrocarbons burn and react with the oxygen present in the air to form carbon dioxide and water along with the generation of a huge amount of energy. Thus, these hydrocarbons are used as fuels. Let us consider an example of the hydrocarbon methane and write the chemical equation involved in its combustion reaction.