The body of a function can declare variables. Those variables can be used by the function, but cannot be referenced outside of the function.

You can learn more about this in:
Run Edit