Not all light falls in the visible portion of the electromagnetic spectrum. The ultraviolet, infrared, and microwave portions of the spectrum are all important in chemistry. They each have their own characteristic range of wavelengths and frequencies.
The wavenumber is another convenient way to describe the properties of a photon, and is commonly used in spectroscopy.