Web config file is the main settings and configuration file for a web application,that contains information about module loading, session state configuration, target framework, security configuration, and application language and compilation settings etc.
And if we remove this then i think application will not work..but i am not hundred percent sure…