Just as a set of related processes can be collected into a process group, a set of process groups can be collected into a
<emphasis>session
</emphasis>. The main uses for sessions are to create an isolated environment for a daemon process and its children, and to collect together a user's login shell and the jobs that that shell spawns.