A sensor is a device that detects, or senses, a signal. Most sensors are electrical or electronic, although other types exist. A sensor is a type of transducer.
Since a signal is a form of energy, sensors can be classified according to the type of energy they detect. For example: