What is the meaning of Transducer?

A device that converts energy from one form into another.

A state machine that generates output based on a given input.

Source: wiktionary.org