For investors profit.
For players loses and small chance of wins.
But ultimately on the player side its supposed to be entertainment.
The first point is correct but the second point is not always correct. Because if you check moneypot thread, then you will come to know that investors are the one always loses money if anyone wins either small or big significant amount from their apps, but only app owners and site owners always make profits regard less or players wins or losses. So you should choose correct place to invest to avoid big losses and don't ever invest without understanding how things work correctly.