switching MOSFET on and off needs two battery supplies. The switch connects a positive charge from the second battery to the gate which causes the MOSFET completely on and when the switch is flipped the other way it pulls the gate down to earth causing the MOSFET completely off