An optical fiber is a thin, flexible, transparent fiber made of glass or plastic that is used to transmit data in the form of light signals over long distances. It is a key component in modern telecommunications and high-speed internet infrastructure.