A cardiac surgeon is a type of cardiothoracic surgeon who specializes in operating on the heart, its valves and structures, and the important veins and arteries near it. General cardiothoracic surgeons focus on all of the organs of the upper abdomen, including the lungs, esophagus, and heart. Cardiac surgeons work only with the heart.