A heart attack, also known as a myocardial infarction (Ml), occurs when there is a blockage in one of the coronary arteries that supply blood to the heart muscle. This blockage restricts or stops the flow of oxygen-rich blood to part of the heart, causing damage or death to the heart muscle cells.