An optical fiber is a “pipe” through which light flows. This is, of course, merely an analogy for how an…