DotA 2(or Valve as its developer and publisher) makes its money through micro-transactions. DotA 2 store or Steam Community Market Place sells purely cosmetic items, which is created by a large community of creators, aside from items released officially by Valve. Valve gets a cut of certain cut from those transactions. As the community grows, Valve offered more bundle to its players like battle passes and subscription-based DotA Plus.