It works on a proof of work proof algorithm. This algorithm pushes miners to compete against each other to complete transactions on the network and be rewarded for it.
Here users transmit digital tokens to each other which are recorded in a decentralized account. This distribution system merges all transactions into blocks. Once the transaction is confirmed, the blocks need to be sorted and aligned.