Parameter Process Thread
1.Definition Process means a program is in execution. Thread means a segment of a process.
2.Lightweight The process is not Lightweight. Threads are Lightweight.
3.Termination time The process takes more time to terminate. The thread takes less time to terminate.
4.Creation time It takes more time for creation. It takes less time for creation.
5.Memory The process is mostly isolated. Threads share memory.
6.Sharing It does not share data Threads share data with each other.