How to distinguish between transmitter and sensor?

Sensors are usually composed of sensitive elements and conversion elements. They are a general term for devices or devices that can detect the specified measured and convert them into usable output signals according to certain rules.

When the output of the sensor is a specified standard signal, it is a transmitter. The device that converts a physical signal into an electrical signal is called a sensor, and an instrument that converts a non-standard electrical signal into a standard electrical signal is called a transmitter.