Question: why mosfet is preferred over bjt?
Answer: The obvious advantage of a MOSFET is its very low drain-source on state voltage drop because of a very low drain-source on state resistance (RDSON). For a BJT, the collector-emitter saturation voltage may vary with the level of the base current and the collector current or simply the load.