Metformin is used to treat polycystic ovarian syndrome by activating the AMPK enzyme, which reduces glucose production in the liver, increases glucose uptake, and reduces carbohydrate absorption while increasing fat metabolism. In overweight women with PCOS, metformin treatment reduces hyperinsulinemia, LH and testosterone levels, prevents worsening insulin resistance, and improves fertility.