Within the Tezos ecosystem, XTZ (or Tez) serves the following purposes:
Currency - it can be used for value transfer; Staking - investors can buy and stake XTZ for passive income; Governance - XTZ is a prerequisite for community members who wish to participate in the governance of the project; Speculation - traders buy, sell and trade XTZ due to its volatility in anticipation of making a profit.