Allegro interview question

What is the difference between Task and Thread