A sensor is a device that converts a physical phenomenon into an electrical signal. As
such, sensors represent part of the interface between the physical world and the world
of electrical devices, such as computers. The other part of this interface is represented
by actuators, which convert electrical signals into physical phenomena.