A bond is essentially an IOU. When you buy one, you're lending money to whoever issued it — the government or a company — and in return, they promise to pay you back the full amount (called the Face Value) on a fixed future date (the Maturity), plus regular interest payments along the way (the Coupon). This is the core difference from a share: buying a stock makes you a part-owner of a business, with returns that depend on how well it does; buying a bond makes you a lender, with a return that's largely fixed and promised upfront — as long as the borrower doesn't default.
A bond pays a fixed coupon that was set when it was first issued. If interest rates in the economy rise afterward, newly issued bonds start offering higher coupons — so your older bond, still paying its lower fixed rate, becomes less attractive by comparison. Nobody wants to pay full price for a bond paying 6% when brand-new ones are paying 8%. So the market price of your existing bond has to fall, until its effective return becomes competitive with the new ones again. This is why bond prices and interest rates always move in opposite directions — and it's the same mechanism explained from the RBI's side on our How Market Works page.
Government bonds (often called G-Secs) are loans to the Government of India, and are treated as close to risk-free as an investment gets — the government can always raise taxes or create more money to repay, even if that has its own economic costs. Corporate bonds are loans to companies, and carry real default risk — the business could run into trouble and fail to repay. Because of that extra risk, corporate bonds typically have to offer a higher coupon than government bonds to attract lenders in the first place. That extra interest over the government rate is called the credit spread, and it widens or narrows depending on how risky the market thinks that company currently is.
The coupon is the fixed interest rate printed on the bond when it was issued — it never changes for the life of that bond. The yield is the actual return you'd earn if you bought the bond today, at its current market price — and because bond prices move up and down, the yield keeps changing even though the coupon stays fixed. If a bond's price falls, you're now paying less for the same fixed payments, so your yield rises; if its price rises, your yield falls. News headlines about "bond yields" moving are really just another way of saying bond prices moved — just viewed from the return side instead of the price side.
This is called a default, and it's the central risk of lending instead of owning. Before it happens, independent agencies — in India, firms like CRISIL, ICRA and CARE — assess how likely a company is to repay and assign it a Credit Rating, from very safe (AAA) down to highly risky ("junk" or below-investment-grade). A lower-rated bond has to offer a higher coupon to compensate lenders for taking on that extra risk — the same logic as a bank charging a riskier borrower a higher interest rate on a personal loan.
Generally, yes, in one specific sense: a bond's payments are a contractual promise, while a stock's dividends and price are not promised at all. But "safer" doesn't mean "risk-free." Bond prices still move with interest rates, as we saw above, and a bond can lose most or all of its value if the borrower defaults. A government bond is about as safe as an investment gets in India — but a low-rated corporate bond can carry more real risk than a share in a large, stable, blue-chip company. So "bonds vs stocks" isn't really "safe vs risky" — it's "lending vs owning," and the actual risk depends entirely on who you're lending to, or which business you own a piece of.