What's the difference between an interest rate and Annual Percentage Yield?

I see banks offering 5% interest on a savings account and when you check, it shows 4.93% interest and 5.05% APY. What's the difference between the two?
3 answers 3