No, they’re two separate things. If you have a credit card and you purchase something, you pay the financial entity the amount due the following month. And the debt is paid off.
If you have a revolving credit card, you pay back the borrowed amounts in several instalments
with high interest rates. As a result, your debt is dragged out over time.