I have a friend trader and we argue with him often. I say that gambling is like day trading, he said shut up, trading isn't gambling.
They are the same at some point but has a different way on how to earn or how you can grow your money. Compared to trading, gambling is more risky because you are depending more on luck, in some games (like lottery) no strategies can be applied to have an assurance you can hit the jackpot. While on trading, its an edge to have a knowledge, experience and knows how to analyze the market.