Planning, Execution, Optimization, Freight Management, and Administration are the primary TMS tasks.