Optical sensors function by detecting changes in light properties such as intensity, wavelength, or polarization. In catalytic processes, these sensors can monitor the concentration of reactants and products, track reaction kinetics, and detect intermediates. By providing real-time data, optical sensors enable better control and optimization of catalytic reactions.