An optical fiber is a flexible, transparent fiber made of glass or plastic that is used to transmit light signals over long distances. And the refractive index of an optical fiber is a measure of how much the speed of light is reduced as it passes through the fiber.