In telecommunications, optical fibers have been used to replace copper wire in long-distance telephone lines and for linking computers within local area networks. Fiber optics is also the basis of the fiberscopes used for endoscopy or inspecting the interiors of manufactured structural products.