A MOSFET operates by controlling the flow of electrons between the source and drain terminals through an electric field generated by the voltage applied to the gate terminal. The gate is insulated from the channel by a thin layer of oxide, which allows the electric field to modulate the conductivity of the channel without direct electrical contact.