The main purpose of this legislation, known as the Legacy Act of 2025, is to create a system for storing and retrieving important personal documents that express an individual's last wishes. These documents can include advance directives, organ donor registrations, healthcare proxies, powers of attorney, and living wills. The law aims to ensure that these sensitive documents are securely stored and can be accessed by authorized individuals when needed.