Central bank lends money to government when they are facing liquidity crunch or any type of insolvency. The central bank are the last resort to provide loans to the government against any type of collateral. Therefore, they are known as the lender of the last resort for all other commercial banks and the government.