In most cases, surgery is not required in management of pneumonia. However, if you have a complication e. g a collection of pus or fluid in a lung (abscess), you may need a surgeon to drain the fluid via a tube inserted into your chest.
Attribution: Avallain