Myocardial infarction, commonly known as a heart attack, occurs when blood flow to a part of the heart is blocked, causing damage to the heart muscle. Prompt medical attention is crucial to restore blood flow and minimize heart damage, often involving medications and surgical interventions.