A legal agreement is a binding contract between two or more parties that is enforceable by law, outlining the rights and obligations of each party involved. It requires mutual assent, consideration, capacity, and legality to be valid and can be written, oral, or implied by conduct.