In a wallet is where our private keys that are needed to access the bitcoins registered in an address or public key to spend them are stored. There are different formats of wallets
Although technically the bitcoins are not stored in any particular place because they are distributed in a network on all computers (nodes) and identified in public addresses, what if they have to be stored privately and securely are the private keys.
There are four main types of purses or wallets:
• Wallets for desktop or portable personal computers (Node)
• Wallets for mobile phones or tablets (SPV)
• Wallets online on the Internet (Hosted wallets, as coinbase)
• Physical devices designed to be Bitcoin wallets (Offline wallets like paper wallets or Trezor Wallets etc)