When painting, the surface must have 'tooth' so that the paint will adhere with strength. Metals are etched before painting (self-etching primers are avilable at many auto supply stores), and vinegar- being a weak acid- provides this gentle etching effect.