An optical module typically consists of an optical transmitter (TOSA, Transmitter Optical Sub-Assembly, containing a laser diode), an optical receiver (ROSA, Receiver Optical Sub-Assembly, containing a photodetector), functional circuits, and optical (electrical) interfaces. As an essential component of optical fiber communication, optical modules are optoelectronic devices that facilitate the conversion between optical and electrical signals during the transmission process. Optical modules typically have an electrical interface on the side that connects to the inside of the system and an optical interface on the side that connects to the outside. That is, metal medium communication represented by coaxial cables and network cables is gradually being replaced by optical fiber media.