In the US, a contract is considered law. It’s just only between the parties.
Tort law and criminal law are two of the many subtypes.
You will not go to jail for breaking a contract. The only remedies are civil.
Tort law and criminal law are two of the many subtypes.