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.