Farxiga is a medication approved for the treatment of type 2 diabetes that has been found to have a potential side effect of weight loss. This medication works by blocking the reabsorption of glucose in the kidneys, which helps to lower blood sugar levels.