Thoracic surgery is a more general term, while cardiothoracic surgery refers more specifically to surgeons who perform work on the heart and do many cardiac procedures such as bypass surgery, valve repair and so on. Thoracic surgery includes surgery of the lung including for lung cancer and other pulmonary diseases.