how compounding works in bonds

how compounding works in bonds