Complex sentence: For specific combinations of incident angles and light frequency, there is resonance, allowing the grating to couple light into a guided mode of the waveguide.
Split into simpler sentences: For specific combinations of incident angles and light frequency there is resonance. At resonance the grating allows to couple light into a guided mode of the waveguide.