A lactometer is a specialized hydrometer used to measure the specific gravity, or density, of milk. It is commonly used to assess milk quality and detect dilution with water.