Pregunta de entrevista de ScienceUtsav

What is Middleware, How do you authenticate user?