Water expands when it heats and, unlike air, it does not politely compress. In a closed plumbing system, that expansion has to go somewhere. The expansion tank is the somewhere.
If a PRV, backflow preventer, or check valve stops water from pushing back into the city main, the system is closed. Heated water then has nowhere to expand, so pressure climbs until something relieves it, usually a T&P valve, a weak fitting, or your least favorite pipe.
Water coming out of the tank's air valve, a tank that feels heavy and full, or pressure creep after hot water use. A failed tank is often a ruptured internal bladder, and it stops absorbing anything.
The part is modest, installation is quick, and it prevents a category of damage that is not modest at all. Among plumbing upgrades, the ROI conversation is unusually short.
Often yes, and some manufacturers specify it.
Typically on the cold inlet, supported properly, with room to service it.
Often five to ten years, less with aggressive water chemistry.
Installing a new heater behind old pipes? Let's talk first. Call (855) 613-5056.