a transducer
A transducer is a translator between the physical world and the world of electricity. Your circuit can only do arithmetic on voltages and currents — it has no idea what temperature, light, weight, or sound are. A transducer is the part that listens to one of those physical quantities and reports it back as an electrical quantity the circuit can understand. Think of it as a microphone for reality: it turns a push, a glow, a warmth, or a sound into a voltage, a current, or a changing resistance.
Concretely, a transducer changes one form of energy or signal into another. A sensor (input transducer) goes from physical to electrical: a thermistor lets temperature change its resistance; a photodiode lets light produce a current; a microphone lets sound pressure make a tiny voltage. An actuator (output transducer) goes the other way, electrical to physical: a loudspeaker, a motor, an LED. In this field we care almost entirely about input transducers — getting the world into the circuit. The output of a raw sensor is usually small and not yet a clean voltage, which is why a sensor is almost always followed by signal conditioning.
Why this matters: the transducer is the very first link in the measurement chain, and a chain is only as good as its weakest link. The honest truth that beginners often miss is that the sensor and its conditioning — not the fancy analog-to-digital converter at the end — usually set the real accuracy of a measurement. A 16-bit converter cannot rescue a sensor that drifts, sits in a noisy mount, or was never calibrated. Choosing the right transducer and treating its signal with respect is where good measurement begins.
A weather station uses several transducers at once: a thermistor for air temperature, a photodiode for sunlight, a strain-gauge load cell for rain weight, and a microphone-like pressure sensor for wind gusts. Each turns a different slice of reality into an electrical signal the same microcontroller can read.
One physical quantity in, one electrical quantity out — the bridge from the world into the circuit.
Strictly, every sensor is a transducer, but not every transducer is a sensor — loudspeakers and motors are output transducers. In everyday lab talk people use sensor and transducer almost interchangeably for the input side.