Air or fluid may build up in the pleural space around the lungs in the following situations:  As a complication of certain medical or surgical procedures After an infection of the fluids around the lungs After pneumonia In some cancer patients, where cancer has spread to the lung or the lining of the lung After a severe injury to the chest wall that punctures the lungs causing bleeding around the lungs