Accrued interest is paid to the seller of the bond to compensate for the loss of the expected coupon to be received.