A heart attack also called a myocardial infarction, occurs when the flow of blood to the heart is blocked. Every…