Open heart surgery is a surgical procedure that involves opening the chest to access the heart. During the surgery, the heart is temporarily stopped and a heart-lung machine is used to circulate blood and oxygen throughout the body. The purpose of the surgery is to repair or replace damaged heart valves, correct heart defects, or bypass blocked arteries.