CPR is a first-aid technique used to keep victims of sudden cardiac arrest and other emergencies alive and to prevent brain damage until more advanced medical professionals can arrive. Traditional CPR has two goals: to keep oxygen flowing in and out of the lungs and to keep oxygenated blood flowing throughout the body.