Both are oxidation reactions. Burning is just a lot faster than rusting.
Both rusting and burning are oxidation reactions that involve a substance reacting with oxygen. Rusting occurs slowly and affects metals, while burning happens quickly and is associated with fuels. The key similarity lies in their reliance on oxygen for the reaction to occur.
;