Web.config is the main settings and configuration file for an ASP.NET web application. It is an XML document that resides in the Web configuration of the site or application and contains data about how the web application will act. This information controls module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application specific items such as database connection strings.
References
Web.config Wikipedia(Text) CC BY-SA