Metformin is a drug that is used to treat diabetes mellitus type 2. It is known as a biguanide with antihyperglycemic effects. It decreases glucose production in the liver by inhibiting gluconeogenesis and glycogenolysis. It also delays intestinal absorption of glucose and enhances insulin sensitivity in the body tissues.