An advance directive is a legal document that allows individuals to specify their healthcare preferences and designate a healthcare proxy in the event they become incapable of making their own medical decisions. It serves as a guide for healthcare providers and loved ones to ensure the individual's wishes are honored during end-of-life situations or periods of incapacitation.