PureCode Software Interview Question

What are middleware functions in Express.js and how do you use them?