The banks realised pretty early on that they could loan out more than they had in physical cash because people didn't need the currency they needed the bank cheque.
At the end of the day the banks would reconcile with one another and the central banks.
Now, because there's even less need for hard currency in our economies, the central banks can (effectively) email to banks how much that they can have to use for loans.
Accounting rules limit the banks on how much they can loan out.
Nothing has changed from when the hard currency was shipped around countries, except that it's done with a telephone.