Hexaware Technologies Interview Question

What is a middleware in node js?