An AED is used to revive someone from sudden cardiac arrest. This usually happens when a problem in the heart's electrical activity causes a dangerously irregular heartbeat. The irregular heartbeat prevents the heart from pumping as it should and causes the heart to stop.