We can see the currently running processes in Terminal. Process means the application, command, or script that is running in your computer. Process can be visible or it can be hidden. If you just open Mozilla Firefox, then the process is created. Each process has the unique ID, called PID.
To view the processes
Open the terminal and type this command:
ps -e
To view in the page manner type:
ps -e | less
Here, PID refers to the process ID. Every process has the unique id.
To kill the process
kill process_id
Here process_id refers to the PID.