Staking tokens to earn rewards is one of the many ways the ApeSwap decentralized finance platform creates passive income for users. When a user "stakes" a token, the token goes from being in the custody of that user in their wallet, to being in the custody of the protocol's smart contract. The protocol, in return for this temporary commitment of capital, provides rewards in the form of additional tokens, either of the same type as the staked token, or of a different token.