Forex (FX) is the market in which currencies are traded. The forex market is the largest, the most liquid market in the world, with average trading values that can be trillions of dollars per day.
Commodity trading has many similarities to stock trading, the biggest difference is the asset that is traded.
A stock index is a measurement of the value of a section of the stock market. It is computed from the prices of select stocks.