A dangerous heart rhythm can cause an ineffective heartbeat, which then halts blood flow to the brain. When the brain does not receive blood, the person loses consciousness and may die if the abnormal rhythm is not immediately addressed. AEDs recognize abnormal heart rhythms and provide shocks to normalize the rhythm, which then allows the heart to beat effectively.