a barometer is used for measuring air pressure.