Optical fiber is used as a medium for and because it is flexible and can be bundled as cables. It is especially advantageous for long-distance communications, because propagates through the fiber with much lower compared to electricity in electrical cables. This allows long distances to be spanned with few.