What is the use of the Global.asax file?

The Global.asax file executes application-level events and sets application-level variables.