It changes the current flow for the outputs(+/0/-). The left switches are negative direction(BLUE) and the right switches are positive direction(RED).
UPPER LEFT CIRCUIT----------BASIC JUNCTION TRANSISTOR
LOWER LEFT CIRCUIT---------ELECTROMAGNETIC RELAY
RIGHT CIRCUIT-------------------METAL OXIDE SEMICONDUCTOR