Sensor:
The sensor may be defined as a machine, module, subsystem, or device whose purpose is to detect environmental changes and events. The information regarding these changes is further sent to various other electronics mainly comprising a computer processor. A sensor is always used along with an electronic device.
Touch Sensor: The switches that are activated by touch may be said to have touch sensors. These sensors are classified into different types on the basis of their touch types such as piezo touch switch, capacitance touch switch, and resistance touch switch.
Proximity Sensor: The proximity sensor is a type of IoT sensor in which the existence and non-existence of the surrounding objects are identified. After this, the detected signal is converted into a form that the user understands.