Heart surgery is done to correct problems with the heart. More than half a million heart surgeries are done each year in the United States for many heart problems.