Usually the Bitcoin wallet keeps your private keys private by storing them in an encrypted file. You can also print the private keys as "Cold Wallet" and separate them from the Internet. You should be aware that you are solely responsible for the security of the keys. If you lose them, you lose your bitcoins. Wallets such as BitBucks, which store keys for their customers, can offer inexperienced users additional protection against key loss.