Semaglutide works by mimicking the action of a hormone called GLP-1, which helps regulate appetite and metabolism. It reduces hunger, increases feelings of fullness, and slows down the emptying of the stomach, ultimately leading to reduced calorie intake and weight loss.