both of them is difference, but to make it easier to understand, when you investing, you trust your money to someone and you don't need and can't do anything with your money until certain period, when you trading, you used your skill and knowledge to generate profit and you need to some work in trading, you need to pay attention to the chart and keep the updated news everyday
so when investing you depend on somebody else when trading you depend on yourself
The goal of investing is to gradually build wealth over an extended period of time through the buying and holding of a portfolio of stocks, baskets of stocks, mutual funds, and etc while trading Trading, on the other hand, involves the more frequent buying and selling of stock, commodities, currency pairs or other instruments, with the goal of generating returns that outperform buy-and-hold investing.