Variables created inside of a function are:

scoped to that function, meaning they can only be accessed within that function. They are not accessible outside of the function, including in other functions or in the main program. This is known as local scope. Once the function is exited, the variables are destroyed and their values are lost.