reality is that banking transactions are usually done overnight as a batch job on some mainframe
so while the application that handles your accounts online withdraws the money straight away, the actual transaction is sitting in a DB until the nightly processing job runs and sends it off to...