An optical spectrum analyzer (OSA) is a device used to measure and display the light spectrum basically; it shows how much light exists at each wavelength within a light signal. Think of it like a prism that splits light into a rainbow, but much more precise and digital.
It works by taking in light from a source, like a laser or fiber optic signal, and separating it into different wavelengths using special components like diffraction gratings. Then, it measures the strength (or intensity) of each wavelength.
The result is a graph that shows peaks and valleys, helping scientists and engineers understand what’s inside the light signal. This is especially useful in fiber optic communications and laser testing to check signal quality and performance.


