Trading is different gambling is different, no interconnection between the two. For trading one has to need better understanding of basics of trade and how it operates.
It is very different but not that it has no relation at all, it has relation and some people keep thinking that it is the same. We need some basic to trade and if it is to make some money then trading is the best option . If it is for having fun then gambling no doubt with that. It cant be considered as gambling but they are both very similar actually
Is it a fact that we all want to learn on something and earn a lot of money. Having fun is the advantage of gambling especially if you know that it is for entertainment not for profit making. Just like you said you cannot consider it as a gambling but the part of taking a risk is the same.