Optical filters are devices that selectively transmit light of different wavelengths, usually implemented as plane glass or plastic devices in the optical path which are either dyed in the bulk or have interference coatings. The optical properties of filters are completely described by their frequency response, which specifies how the magnitude and phase of each frequency component of an incoming signal is modified by the filter.
Filters mostly belong to one of two categories. The simplest, physically, is the absorptive filter; then there are interference or dichroic filters.
Optical filters selectively transmit light in a particular range of wavelengths, that is, colours, while blocking the remainder. They can usually pass long wavelengths only (longpass), short wavelengths only (shortpass), or a band of wavelengths, blocking both longer and shorter wavelengths (bandpass). The passband may be narrower or wider; the transition or cutoff between maximal and minimal transmission can be sharp or gradual. There are filters with more complex transmission characteristic, for example with two peaks rather than a single band; these are more usually older designs traditionally used for photography; filters with more regular characteristics are used for scientific and technical work.
Optical filters are commonly used in photography (where some special effect filters are occasionally used as well as absorptive filters), in many optical instruments, and to colour stage lighting. In astronomy optical filters are used to restrict light passed to the spectral band of interest, e.g., to study infrared radiation without visible light which would affect film or sensors and overwhelm the desired infrared. Optical filters are also essential in fluorescence applications such as fluorescence microscopy and fluorescence spectroscopy.