A Living Will lets you specify instructions and preferences for medical treatment. If you're ever unable to make decisions for yourself, the Living Will is used to determine your preferences.
There may be times when a decision is not covered in your Living Will. That's when your Healthcare Agent (Named in a Medical Power of Attorney document) steps in to fill the gaps. Your Healthcare Agent will consider your preferences and make a decision on your behalf if need be.