Who do I owe money to credit card or bank if I get a credit card?

You owe the money to the credit card company. Some credit card companies are part of banks or they allow their credit cards to be used through a bank, but they are specific entities in their own right.