Rishabh Software interview question

Difference between BJT and MOSFET?