Which device manages the flow of current in an electric circuit?

the wire
the switch
the battery
the light bulb