why does the government sell bonds?
 Governments sometimes spend more money than they take in in revenue. That may be because the economy is in recession and tax receipts are down, or because they cut taxes below what they want or need to spend on. When that happens they have to borrow. To borrow they sell bonds. 