What is the main advantage of optical fiber over copper wires for communication?

Explanation:

Optical fiber provides higher bandwidth and lower attenuation compared to copper wires, making it ideal for high-speed data transmission over long distances.