Bonds are issued by governments and companies when they need to raise revenue. A government bond, for example, is basically a private investor lending money to the government that they will pay back with period interest. It can be a very stable form of medium to long-term investment.