A living will is a document where you state your wishes as far as end of life decisions — whether you want heroic measures taken to keep you alive. If you have a condition that’s likely to cause death in a short period of time.
Your living will is used as evidence of your wishes for your health care agent. It is instruction to your health care agent who ultimately would be making these decisions.