A session is an object which is used by a servlet and it is used to track user interaction with a web application across multiple HTTP requests.