Decoder

Exactly one of its outputs is 1 and the rest are 0.

Multiplexer (Mux)

Selects one of its inputs and connects it to the output

Like a remote-tv system, where tv only displays one output via the input from a remote control