A legal agreement can be informal, meaning nothing needs to be witnessed or written down. A contract, on the other hand, is both more formal and legally binding—which means it must be documented.
Both an agreement and contract represent specific arrangements between two or more parties.