How are credit cards similar to banks?

Credit cards are issued by banks. They are essentially just a loan at an extremely high interest rate. They are somewhat similar to unsecured or 'signature' loans at a bank.