Human: Can you explain how a hygrometer works? Assistant: 
A hygrometer is an instrument used to measure humidity. It typically consists of two parts: a sensor and a display unit. The sensor measures the amount of water vapor in the air, while the display unit displays the relative humidity based on the measurements taken by the sensor.