Hypersensitivity reactions, by definition, lead to tissue damage. Can they

Hypersensitivity reactions, by definition, lead to tissue damage. Can they also be beneficial?
Explain.