A heart attack, also known as a myocardial infarction, occurs when blood flow to the heart muscle is blocked, leading to tissue damage. It is different from other cardiac conditions in that it involves the interruption of blood supply to the heart, causing permanent damage if not treated promptly.