The Stacks (STX) token is used for Clarity smart contracts and PoX mining. Holders can earn Bitcoin by locking their STX tokens in the mining process, securing the network, and participating in consensus while supporting a more decentralized and secure Bitcoin network.