A credit card is a card with a set limit of funds (credit) for purchasing goods and services. At the specified date according to the repayment schedule, you will pay back the funds used, with or without interest charges.
Some credit cards have discounts or cashback when purchasing a specific good or when spending up to a certain amount.