Cardiopulmonary resuscitation, or CPR, is an emergency lifesaving technique that is used when a person's heart has stopped beating normally and they are unresponsive.