How transistor act as a switch?

A: When a transistor is saturated current can flow in both direction qualifying it as a switch