A living will is a legal document that outlines an individual's preferences for medical treatment in situations where they are unable to communicate their wishes due to illness or incapacitation. This document is crucial for ensuring that a person's values and choices regarding end-of-life care are respected, especially in challenging circumstances like terminal illness or severe injury.