A sensor is an electronic device which generally combines three main capabilities: the ability to measure and collect data relative to the environment surrounding it, the ability to process these collected data, and the ability to exchange it with other devices.