What are global variables?

What are global variables?

Variables defined in the main body of a program are called global variables and are visible throughout the program file.