S is a selector signal.
If S = 0 then the output is identical to input A.
If S = 1 then the output is identical to input B.
Multiplexer provides basis for addressing, that is, specifying, which input to choose.