optical fibers can be used as sensors. special fibers are used for this, that change how they pass light through when there is a change around the fiber. sensors like this can be used to detect changes in temperature, pressure, and other things. these sensors are useful because they are small and do not need any electricity at the place where the sensing happens.