A thread is a basic unit of CPU utilization consisting of a program counter, a stack, and a set of registers. A thread is a path of execution within a program. A program can contain multiple threads. Threads can’t exist outside any process and each thread belongs to exactly one process. Information like code segments,
