What best differentiates a contract from an admission?

Kitab al-Hajr: Grounds of Legal Restriction, Capacity and Liability