Metformin is an oral diabetes medication that primarily helps control blood sugar levels. It works by decreasing glucose production in the liver, improving insulin sensitivity, and facilitating the uptake of glucose into muscles.