When a variable is declared inside a function, it is only accessible within that function and cannot be used outside that function.
Visit the following resources to learn more: