A written document that serves as a formal agreement or record of understanding between two or more parties.