Pneumonia is an infection in one or both lungs. When you get it after surgery, we call it "postoperative pneumonia." It can be especially hard to fight off pneumonia when your body is healing from surgery. It can make your hospital stay much longer than expected. For some patients, it can be deadly.