The antidiuretic hormone (ADH) test is used to measure the levels of vasopressin in the blood, which plays a vital role in regulating fluid balance and blood pressure. This analysis helps diagnose disorders related to fluid balance, such as syndrome of inappropriate antidiuretic hormone secretion (SIADH) or diabetes insipidus. It is also used to assess pituitary gland function and the body's overall hydration status.