Phentermine is used as a short-term supplement to diet and exercise in the treatment of obesity.