Light waves in a laser cavity. The longest wavelength wave is the blue. The shortest is the red. (This is actually the opposite color coding as that in real life. Sorry about that.) If these waves had slightly longer or shorter wavelengths, they wouldn’t fit in the cavity.