This study will investigate the efficacy and safety of once daily oral orforglipron in adult participants with obesity or overweight with weight-related comorbidities. The study has two phases: a main phase and an extension phase. The main phase of the study lasted 72 weeks. Participants with prediabetes will continue in the extension for another 2 years.