human
Can you explain how a hygrometer works?
assistant
A hygrometer measures the humidity of the air. It does this by measuring the amount of water vapor in the air. The instrument is usually made up of two parts: a sensor and a display. The sensor is placed inside the air, while the display is typically located on the outside of the instrument. As the air passes over the sensor, it absorbs or releases moisture from the air. This change in moisture causes the sensor to move, which then triggers the display to show the current humidity level.