The drug works as an appetite suppressant by mimicking a hormone that makes people feel fuller, which can help them lose weight.