Myocardial infarction, commonly known as a heart attack, occurs when blood flow to a part of the heart muscle is suddenly blocked, often due to a blood clot. This results in damage or death of the affected heart muscle tissue, impairing the heart's ability to pump blood effectively.