CPR is an important part of the chain of survival for cardiac arrest victims and involves providing early access to care, early CPR, early defibrillation, and early advanced care. CPR consists of 30 chest compressions followed by 2 rescue breaths in a 5 cycle sequence until emergency services arrive or the victim recovers. It should be performed with enough depth, at least 5 cm for adults, and stopped when ambulance arrives, the first aider is exhausted, the casualty recovers, or another first aider takes over. An AED can also be used to provide an electric shock to restore a normal heart rhythm in ventricular fibrillation.