5. In the context of an operating system, what is meant by threads and processes?
Process
A process is any program that is currently being executed. A process control block is in charge of controlling any process. The Process Control Block stores process priority, process id, process state, CPU, register, and other data (PCB). When one process spawns another, a new process is produced. A process takes longer to complete and is isolated, meaning it does not share a memory with other processes.