An Automated External Defibrillator (AED) is a device that analyzes the heart's rhythm and delivers an electric shock if needed. Use an AED as soon as possible during CPR. Follow its voice prompts and apply the pads to the person's chest.