A do-not-resuscitate order (DNR) is a medical directive that prevents healthcare providers from performing cardiopulmonary resuscitation (CPR) or other life-saving measures in the event that a patient's heart stops beating or they stop breathing. This order reflects a patient's wishes regarding end-of-life care, often based on their values, quality of life considerations, and discussions with healthcare providers and family members.