JPMorganChase interview question

How does a bank function