CPR involves chest compressions and artificial breathing to manually pump the heart and circulate blood/oxygen to vital organs until medical treatment can restore normal heart function. It aims to prevent irreversible brain damage from lack of oxygen during cardiac arrest. The key steps are opening the airway, giving 30 chest compressions followed by 2 rescue breaths at a rate of 100 compressions per minute to mimic the heart's pumping action until emergency help arrives or spontaneous circulation returns. CPR should continue until a pulse is detected, medical responders take over, or the rescuer is physically exhausted.