During the course of the film, it is explained that Bane has to wear his mask in order to keep his pain level down to a bare minimum.
During the final fight, we see Batman start to disable this device by disconnecting some of the piping on it.
What kind of device is this exactly and is there a real-world equivalent that causes the same effects?