Do AEDs replace the use of CPR?

No. CPR is critical until the AED arrives at the scene. High-quality CPR can greatly improve the chances of survival.