What are local variables?

What are local variables?

A variable which is defined within a function is called local variable. A local variable can be accessed from the point of its definition until the end of function in which it is defined.