I think they mean âmountedâ as âattached toâ, like you would âmountâ a picture on a wall. You can define your middleware function, but it wonât do anything until you attach (mount) it to your server process. Mounting it is taking your middleware and putting it in the chain of processes that your server does.
app.use adds your middleware to the middleware stack. On every request from the client, the request and response objects are passed through every middleware before finally reaching your route. The order in which your middlewares are defined is the order in which req and res are passed through them.
Mount is just a word that the lesson creator chose.
As for the path parameter, it means pass the request and response objects through this middleware ONLY IF the request is for the specified endpoint (ex. â/profileâ might be the path/endpoint). Otherwise, that middleware wonât be consulted (ie. req and res wonât pass through it for use/modification).