Cardiopulmonary resuscitation (CPR) is a lifesaving technique used when someone's breathing or heartbeat has stopped. It involves chest compressions and rescue breaths to circulate blood and oxygen, and should be initiated if a person is unconscious, unresponsive, or not breathing normally. The CPR process includes assessing safety, checking responsiveness, sending for help, ensuring an open airway, performing compressions, and giving breaths, with specific techniques varying by age or size of the person.