Empyema thoracis usually stems from a different disease affecting the lungs such as pneumonia. It can also occur after chest surgery.