Certificate of deposits (CDs) are often compared to bonds because both investments are safe and provided fixed income. The main difference is that CDs are issued by banks and credit unions.
However, like bonds, CDs aren’t a smart investment right now because of inflation. The best CD rates are paying around 0.50% to 0.65% APY right now. You might as well use a high-yield savings account instead if you want security and liquidity.