Each process are assigned there own memory and resources, Process is also called Application such as Chrome, Word etc. Process can have one or many threads. each thread shares the memory and resources of its process.
Once the process terminates and its free its memory and resources, Which means all of its threads automatically terminated as they share the memory and resources of process.