If you are beginner, I think this tutorial may give basic idea about What Servlet is ...
Some valuable points are below from the given link.
Servlet technology is used to create web application which resides at server side and generates dynamic web page.
Servlet can be described in many ways, depending on the context.
- Servlet is a technology i.e. used to create web application.
- Servlet is an API that provides many interfaces and classes including
documentations.
- Servlet is an interface that must be implemented for creating any
servlet.
- Servlet is a class that extend the capabilities of the servers and
respond to the incoming request. It can respond to any type of
requests.
- Servlet is a web component that is deployed on the server to create
dynamic web page.
Reference:Here.