Rancidity is the chemical decomposition (oxidation) of fats and oils. Its not like corrosion. Corrosion is the damage of article due to oxidation. So the common term in both corrosion and rancidity is oxidation. But the material in which oxidation occur is different.