A sensor is an electronic segment, module, or subsystem whose reason for existing is to distinguish occasions or changes in its condition and send the data to different gadgets, every now and again a computer processor. A sensor is constantly utilized with different hardware, regardless of whether as basic as a light or as intricate as a computer.