Battery hydrometer is used to determine the state of charge of a battery by measuring the specific gravity (or density) of the electrolyte, which is the liquid in the battery. The specific gravity reading corresponds to the concentration of sulfuric acid in the electrolyte, and this concentration directly relates to the battery's charge level.
Here's a more detailed explanation