Legal obligations that carry punishments, if not followed, are liabilities.
Liabilities are wrongfully binding obligations that are collectible to a different person or entity. Settlement of a liability is often accomplished through the transfer of cash, goods, or services. A liability is hyperbolic within the accounting records with a credit and shrunken with a debit.