A 25 year old HW heater would be a bomb waiting to go off if used for an air tank-That is if you could even build any pressure in it.
Had an old tank,worked good.Thing was so old that it did not have a pop off valve.Maybe they made better tanks back then.