A central bank is a lender of last resort.
The central bank lends money to commercial banks and government when they are facing any liquidity crunch or any type of insolvency, the central bank are the last resort to provide loans against any type of collateral like treasury bills, securities, and bills of exchange.