As mentioned earlier, a crypto wallet doesn't technically hold a user's coins. Instead, it holds the key to their coins, which are stored on public blockchain networks. In order to perform various transactions, a user needs to verify their wallet address via a private key that comes in a set of specific codes.
Optimism is an extension to Ethereum which enables users and developers to benefit from the latter's strong security guarantees while being cheaper and faster.