A fiber-optic cable, also known as an optical-fiber cable, is an assembly similar to an electrical cable but containing one or more optical fibers that are used to carry light. The optical fiber elements are typically individually coated with plastic layers and contained in a protective tube suitable for the environment where the cable is used. Different types of cable[1] are used for fiber-optic communication in different applications, for example long-distance telecommunication or providing a high-speed data connection between different parts of a building.