Loan is a financial business that pays interest and repays principal on schedule. To some extent, this is like a lender issuing bonds to a bank, and the loan interest rate is the bond interest rate.
So you can turn the interest and principal of each period into bonds and package them.