Metrology is the study of measurement and its application. It has three subfields: scientific metrology which establishes measurement standards and units; applied metrology which ensures proper use of measurement tools in industry; and legal metrology which regulates measurements to protect consumers and ensure fair trade. Measurement tools can directly compare a quantity to a standard or indirectly through transducers that convert one signal to another. They are classified based on their operation and output. Proper instrument selection depends on the parameter, required accuracy and resolution. Instruments can indicate, record or control processes and are used for monitoring, automation and experimentation.