A polarizer is a device that is used to selectively pass only one polarization state of light while blocking the other.