Metal bellows are elastic vessels that can be compressed when pressure is applied to the outside of the vessel, or extended under vacuum. When the pressure or vacuum is released, the bellows will return to its original shape, provided the material has not been stressed past its yield strength. They are used both for their ability to deform under pressure and to provide a hermetic seal that allows movement.