A sensor and a transducer are most times considered to be the same because both are used to convert one form of energy to another. Even, from this similarity, the two can still be differentiated in that a transducer is a device used to convert energy from one form to another, while a sensor can only convert any form of energy to electric signals so that a corresponding effect can be initiated.
That is why most sensors that are available are electronic because they have to detect changes in the environment and convert their input into electronic data. A perfect example of what a transducer should be able to do is to convert electromagnetic waves to electricity, vice versa.
Although, some transducers can be regarded as sensors simply because they can convert one form of energy to electric signals, however, this does not mean all transducers are sensors. Another difference is that transducers are not as sensitive as sensors.