A bad debt is one that will not be paid, typically because the debtor is a company that no longer exists or isn't able to pay for some other reason.
The debt is therefore written off and an allowance for bad debt is made within the accounts.