a mosfet is still a transistor.
For digital circuits it has many advantages, but if you compare:
a bjt transistor can achieve saturation with less voltage (though 5v is enough for many mosfets and even 3.3, 2v or less might be a problem)
If space is a concern, a bjt transistor can drive more current in less space.
But of course, they can handle higher temperatures, have less current consumption and are easier to implement as on-off switches.