A rain gauge is an instrument specifically designed to measure the amount of precipitation (rainfall) over a period. It does not measure rain direction (that would be a wind vane), detect pollutants (that requires chemical analysis), or merely detect occurrence (which is a qualitative observation - the gauge measures quantity).