When using a blockchain system, there is no third party like your bank. The ledger must be public for the security and accuracy of the transactions to work on the blockchain. By making the ledger public, every user “agrees” to the updated version that is essentially a key generated with a complex hash function. This is where the bitcoin miners get involved.