"A certificate of deposit, or CD, is a type of savings account offered by banks and credit unions" (CFPB). You agree to leave the money in for a set time, called the term, such as 6 months or 5 years. "Withdrawing money early means paying a penalty fee to the bank."
In exchange, many CDs pay a fixed rate for the whole term, shown as an APY. For example, $10,000 in a 12-month CD at 4.5% APY grows to $10,450.00 by the end of the term.
The CFPB suggests comparing CDs by three things: the term, the interest rate and the early withdrawal penalty. CDs at an insured bank are deposits, so they're covered by FDIC insurance up to the limit (FDIC).