Local - these are variables declared inside the function, that is accessible only within the function.
Global - these are variables declared outside of any function, that is accessible for any functions.
Best Practice - minimize the use of global variables.