Hormone levels, such as FSH, LH, estrogen, and progesterone, are often measured to assess ovarian function and diagnose conditions like PCOS and menopause. Elevated levels of FSH and LH with low estrogen might indicate menopause, while an elevated LH to FSH ratio is often seen in PCOS.