Locals and globals , basically locals are the ones that can be used inside a context without altering the outside, like variables created inside a method, while globals are used throughout the application.