A pycnometer is a laboratory device used to measure the density or specific gravity of liquids and solids, typically by determining the volume of a known mass of the sample. It is a precise and reliable tool in fields such as chemistry and material science, where understanding density is crucial for characterizing substances and mixtures.