a switch is used to stop the flow of current in an electrical circuit. A switch is used to stop the flow of currents which causes Joule heating in ['thermostat', 'solar energy', 'magnetic fields', 'electrical circuit.']