Semaglutide functions by imitating a hormone that controls hunger in your body. It decreases cravings and overall food intake by making you feel fuller for longer. This can result in substantial weight loss when paired with exercise and a nutritious diet.