BJT is current controllled and MOSFET is voltage controlled…So BJT is used where current is a factor while MOSFET is useful in a circuit where voltage is a deciding factor. For prototyping simple circuits on breadboard and beginner level, BJT is mostly used due to low cost… most production circuits use MOSFET due to low response time and compatibility in power electronic applications