Why is tin electroplated on iron to make cans used for storing food?

Why is tin electroplated on iron to make cans used for storing food?

Answer:

Tin is less reactive than iron. Tin coating prevents food from coming in contact with iron and thus prevents it from getting spoiled.