A private key is a digital secret that defines the ownership of cryptocurrencies. If someone gains unauthorized access to your private key, they can take all your bitcoin.