A legal document is an official record that serves as evidence or proof of a legal transaction or agreement. These documents are often used to formalize contracts, establish rights, and comply with legal requirements.