TechnoElevate interview question

Explain about Global variables and local variables.