Optical fibers are thin flexible fibers made of glass or plastic that transmit light along their length. They work by the phenomenon of total internal reflection which keeps light trapped inside the core of the fiber. Optical fibers are used for long distance telecommunication networks and have advantages over electrical cables in transmitting signals over longer distances with less loss. They are also used for applications such as illumination, imaging, sensing and transmitting power.