What are the bias condition of the base emitter and base collector junction for a transistor to operate as a switch?

In order for a transistor to operate as a switch, the base-emitter current must be greater than the collector-emitter current divided by a factor of hFe. In this state, the transistor operates in saturated mode, fully turning on.