Gambling and investing/trading could be seen as the same thing.
Nope gambling is a chance game, in investing you can get your money back if you invest wisely. And trading is selling more expensive than you bought your product. Trading on a stock exchange is a kind of bet. But still not the same as gambling.