MetaMask is a self-custodial cryptocurrency wallet that operates as a browser extension or mobile application. It enables users to securely store, manage, and transfer tokens on Ethereum and other compatible networks, as well as interact with decentralized applications (dApps). Its core mechanism involves the secure management of private keys and secret recovery phrases, with all sensitive data encrypted and stored locally on the user's device.