A heart attack occurs when a plaque in a coronary artery ruptures, leading to the formation of a blood clot at the rupture site