A task is some activity that the CPU is undertaking.:

  • A CPU-bound task spends the majority of its time executing code on the CPU.
  • An I/O-bound task spends a lot of time using I/O devices such as storage, network, etc.