What Does APR Stand for in Credit Cards and How Does It Work?

I know APR stands for Annual Percentage Rate, but I’m still a little confused about how it works when it comes to credit cards. Can someone break down how APR is calculated and what it means for how much I end up paying in interest over time?