If you are throwing your money and then you are just hoping and praying that is gambling but if you know what you are doing and you have knowledge about it then it is investing. Gambling is more high risks than investing but the rewards in gambling are also great. There are gamblers who win big amount of money but there are also lose big amount of money due their greediness and not enough skills.
In addition to gambling "for luck", there are those in which certain knowledge is required. And first of all these include sports betting and poker. There are those who and in such games I play blind, like roulette. But most play them based on their knowledge.