M-Pesa operates through a network of agents, typically local shops and retail outlets, where users can deposit and withdraw money. Users can transfer money to other M-Pesa users by sending a text message. The recipient can then withdraw the money from an agent or use it to pay for goods and services.