This is a Phase III, randomized, double-blind, placebo-controlled, multicenter study evaluating the efficacy and safety of oral elecoglipron in adults with obesity or overweight, with or without type 2 diabetes mellitus. Participants will be randomized to receive elecoglipron or placebo in accordance with the study protocol. Efficacy and safety will be assessed throughout the study.