Optical detectors convert received light signals into electrical signals. PIN photodiodes are commonly used and have an intrinsic layer between the p-region and n-region to widen the depletion zone. Avalanche photodiodes provide internal gain through collisions that generate more electrons. Optical detectors have advantages like high sensitivity, wide bandwidth, low noise and reliability but also have disadvantages like limited dynamic range and sensitivity to temperature changes.