Optic fiber is a thin, cylindrical fiber made of glass or plasticthat is smaller than one tenth of a human…