Heart surgery, also known as cardiac surgery, is a surgical procedure performed on the heart or blood vessels by a cardiac surgeon. It is used to treat various heart conditions, including coronary artery disease, heart valve disease, congenital heart defects, and heart failure.