The ledger of Bitcoin balances is stored on a network comprised of thousands of individual computers around the world. Anyone can run the Bitcoin program which contributes to that network and stores the record of every transaction that has ever happened. This is what is called a peer-to-peer network or a decentralized network.