People, and businesses, sometimes find themselves in financial trouble. Medical bills, market trouble, unemployment, and so on. If they owe others money, we used to put them in debtor's prison, where they faced starvation, torture, etc.
Now, we have the bankrupcty process.