What is the difference between APR and APY?

I want to open some CDs through my bank, but don't know the difference. I was told that the APY is what you actually get if you leave the interest payments in the account. I'm not sure if that's correct. Does anyone know for sure?
2 answers 2