A heart attack happens when the blood flow to the heart gets suddenly blocked. This results in lack of oxygen and if not treated immediately, leads to death of heart muscles.