You put your clothes in the “basket”.
The “tub” holds the water.
On Whirlpool design 2000 washers the tub was made of plastic and could never rust out. The basket was metal with enamel coating. If chipped or scratched deep enough it would rust. After 20 to 30 years metal things exposed to moisture eventually rust.
If I were you, I’d keep my eye out for a good used washer under $100 to replace this one.