At the core of optical communication systems are hardware and software components designed to transmit, amplify, and receive data over fiber optics., PIN diode or avalanche photodiode). Demodulation circuitry to extract the transmitted data. Hardware includes lasers, photodetectors, optical fibers, amplifiers, and switches.