This is a duplicate of question 151540 with options in different order. Servlets extend web server functionality by generating dynamic content in response to HTTP requests. They are server-side Java components used for web applications, processing forms, and interacting with databases to produce customized responses for each client request.