A rain gauge is a meteorological instrument used to collect and measure the amount of liquid precipitation over a predefined area. It works by funneling rainfall into a container, where the accumulated water depth is measured in millimeters or inches.