Oxirreduction, or combustion.
Reactions of the type
Which of the equations will happen, will depend on the metal. But reactions of this type can happen with other compounds, including, for example the combustion of coal
The combustion of hydrocarbons in general
(Whereas any present oxygen may or may not become oxygen gas, and nitrogen or sulfur will go to an oxide depending on the amount of oxygen available among other things).