Metformin is a biguanide antidiabetic agent that works by decreasing glucose production in the liver, reducing intestinal absorption of glucose, and improving insulin sensitivity. It helps lower blood sugar levels effectively.