Texas Instruments interview question

What is the difference between thread and task?