Semaglutide is a medication originally developed for type 2 diabetes that has gained attention for its effectiveness in weight loss management. It works by mimicking a hormone that targets areas of the brain involved in regulating appetite and food intake.