Knowing how credit cards work can save you headaches and cash. In a nutshell, credit cards provide access to a revolving line of credit that allows you to make purchases that can be paid off later.