A heart attack is a blockage in blood flow to the heart, while cardiac arrest is an electrical malfunction causing the heart to stop pumping. Recognizing this crucial difference is vital, as immediate action like CPR is needed for cardiac arrest, potentially saving a life.