Credit cards work through a revolving line of credit, which is a line of credit that automatically renews as it gets paid off. An unsecured loan is a single line of credit that is only valid for one transaction.