A heart attack, also known as a myocardial infarction, occurs when blood flow to a part of the heart muscle is blocked for a long enough time that part of the heart muscle is damaged or dies. This blockage is often caused by a buildup of plaque in the coronary arteries, which supply oxygen-rich blood to the heart. When the blood flow is reduced or blocked, the affected part of the heart muscle can't get the oxygen it needs, leading to tissue damage or death.