Simplest example - two track recording, the soloist wanders off mike. A take that might be otherwise discarded is saved by compressing the passage (with some gentle eq of the accompanying sounds) and the soloist seems to be in the proper perspective. It gets much more complicated with multi-tracks but drum kits can be rebalanced, etc. You can spend many hours doing this for the perfect master.