What is the use of ContextLoaderListner in Spring MVC?

It is used to read and parse the Spring configuration file and process the loading of beans in that configuration file.
 
Code Example :
 
<servlet>
    <servlet-name>Spring</servlet-name>
    <servlet-class>
        org.Springframework.web.servlet.DispatcherServlet
    </servlet-class>
      
     <init-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </init-param>
      
    <load-on-startup>1</load-on-startup>
</servlet>