An cardiac arrest happens when the heart stops beating, or an irregular heartbeat; That's why they do CPR. While, an heart attack happens when the artery(which is the way where the blood flows for oxygen) is blocked. Hope this helps!
#Bahealthi