What is a task (or thread) in RTOS?

Technical