Not the same thing
A sensor is a detection device that can sense the measured information and convert the sensed information into electrical signals or electrical signals according to certain rules. Information output in other required forms to meet the requirements for information transmission, processing, storage, display, recording and control.
A transmitter is a converter that can convert non-standard electrical signals into standard electrical signals on command. It can be said that the transmitter is based on the sensor and converts the information sent by the sensor into a certain regular output signal according to the command.
Some liquid level transmitters contain sensors, that is, integrated ones; some transmitters are used in combination with liquid level sensors.