A sensor is a device that measures or detects physical or chemical quantities and converts them into electrical signals or other usable outputs. Examples of sensors include temperature sensors, pressure sensors, proximity sensors, and light sensors.
An actuator, on the other hand, is a device that converts electrical or other types of energy into mechanical energy to produce motion or force. Examples of actuators include motors, valves, and solenoids.
In short, sensors detect changes in physical or chemical quantities, while actuators respond to electrical signals by producing physical movement or force.





