The Servlet life cycle mainly goes through four stages namely loading which involves loading and initializing the Servlet by the Servlet container, initializing (here the Servlet container initializes the instantiated Servlet object), request handling(it performs service requests) and destroying the Servlet.( after the destroy() method, the Servlet container releases all the references of this Servlet instance so that it becomes eligible for garbage collection.)