Bankruptcy is defined as the process by which one can make payments or get rid of some of their debts…