Metformin is used in the treatment of diabetes.