Heart attack is a condition that occurs due to reduced or blocked blood flow to the heart. Heart attacks are…