Bonds are debt securities where an issuer borrows money from an investor for a defined period of time. The issuer pays interest regularly and returns the principal at maturity. Key terms associated with bonds include the principal amount, coupon, price, yield, maturity, and credit quality. The credit rating of a bond provides a measure of the issuer's ability to repay the debt and allows investors to compare risk across different bonds. Bonds are issued in primary markets by sovereign governments, corporations, and other entities to fund expenditures, while existing bonds are traded in secondary markets between investors.