The prolactin test measures the hormone responsible for breast milk production. Elevated levels can cause menstrual problems, infertility, or symptoms like nipple discharge. It helps diagnose pituitary gland disorders and hormonal imbalances in both women and men.