CitiusTech interview question

explain middleware in .net core