What is the $PATH environment variable? Every Linux & Unix System has several environment variables which are dynamic variables essential for running several processes in the system. $HOME,$env being some of the well known environment variables.
The $PATH environment variable stores all the paths where one can find the binary executables for all the commands that we use.
Whenever a command is invoked from the terminal,all the paths in the $PATH environment variable are looked up and if the binary is found, the command is executed.