An optical fiber is a thin fiber of glass or plastic that can carry light from one end to the other . An optical fiber is a thin , flexible , transparent fiber that acts as a waveguide , or `` light pipe '' , to transmit light between the two ends of the fiber .