Heart surgery can correct problems with the heart if other treatments haven't worked or can't be used. The most common type of heart surgery for adults is coronary artery bypass grafting (CABG). During CABG, a healthy artery or vein from the body is connected, or grafted, to a blocked coronary (heart) artery.
Doctors also use heart surgery to
Repair or replace heart valves, which control blood flow through the heart
Repair abnormal or damaged structures in the heart
Implant medical devices that help control the heartbeat or support heart function and blood flow
Replace a damaged heart with a healthy heart from a donor
Treat heart failure and coronary heart disease
Control abnormal heart rhythms
Heart surgery has risks, even though its results often are excellent. Risks include bleeding, infection, irregular heartbeats, and stroke. The risk is higher if you are older or a woman. The risk is also higher if you have other diseases or conditions, such as diabetes, kidney disease, lung disease, or peripheral arterial disease.
NIH: National Heart, Lung, and Blood Institute