A device that responds to a stimulus, such as heat, light, or pressure, and generates a signal that can be measured or interpreted.