Due to the reaction with the surrounding the corrosion occurs. Corrosion simply destructs the metal Corrosion mainly occurs when there is electrochemical or simply chemical reaction. To define it more precisely the corrosion is the loss of electron of the metal when it reacts with water. Atoms from the Iron metal oxidize which lead to electro-chemical corrosion.
