What is Middleware in Express?

Middleware functions are functions that have access to the request object ( req ), the response object ( res ), and the next function in the application’s request-response cycle. As per it’s name, middleware comes in the middle of the request-response cycle