A device that measures concentrations, directly or indirectly, of some or all components in a gas or mixture.