When someone suffers a heart attack, the blood supply to part of their heart has stopped because of a blockage in a coronary artery, which causes part of the muscle to begin to die. In cardiac arrest, the whole heart stops pumping, often because of a problem with the electrical signals that control the heart muscle.