Cardiopulmonary resuscitation (CPR) is an emergency medical procedure for a victim of cardiac arrest or, in some circumstances, respiratory arrest.CPR is performed in hospitals, or in the community by laypersons or by emergency response professionals