Common types of heart surgery include coronary artery bypass grafting (CABG), heart valve repair or replacement, and heart transplant. Surgical intervention is considered for conditions like coronary artery disease, valvular heart disease, congenital heart defects, and severe heart failure.