A heart attack, also known as a myocardial infarction, occurs when the blood flow to a part of the heart is blocked, usually by a blood clot. This blockage can damage or destroy part of the heart muscle