Optical fiber uses pulses of light to transmit information over long distances and has largely replaced copper wire for telecommunications. It works by total internal reflection of light through fiber optic cables containing glass or plastic fibers. Optical fiber transmits digital signals for telephone calls, internet, and cable TV using semiconductor devices like lasers and photodetectors. Fiber optic communication has revolutionized telecommunications by enabling much higher bandwidth transmission over greater distances than electrical wires.