CPR is a lifesaving technique used when someone's breathing or heartbeat has stopped. It maintains circulation and breathing until emergency help arrives. CPR involves chest compressions to circulate blood, clearing the airway, and giving rescue breaths. It is performed as a series of cycles with 30 chest compressions followed by 2 rescue breaths in each cycle. CPR should continue until the person shows signs of movement or emergency personnel take over.