Key Inclusion Criteria:
Participants must meet the protocol-defined criteria during at least one outpatient visit that occurred between January 1, 2018, and June 30, 2024. The protocol-defined criteria include:
Cohort 1:
* BMI ≥30 kg/m\^2 on at least 2 visits or
* BMI ≥27 to \<30 kg/m\^2 on at least 2 visits and previously diagnosed with at least 1 of the following in the year before the second BMI ≥27 to \<30 kg/m\^2 visit: hypertension; dyslipidemia; obstructive sleep apnea; ischemic cardiovascular disease
Cohort 2:
* BMI ≥27 kg/m\^2 on at least 2 visits
* A diagnosis of T2DM in the year before the second BMI ≥27 kg/m\^2 visit
Cohort 3:
\- BMI ≥35 kg/m\^2 on at least 2 visits
Cohort 4:
* BMI ≥35 kg/m\^2 on at least 2 visits
* At least 1 filled prescription for semaglutide
Key Exclusion Criteria:
Cohorts 1, 3, and 4:
* History of type 1 diabetes mellitus (T1DM) or T2DM
* One-year pre-index history of T1DM, T2DM, diabetic ketoacidosis or hyperosmolar state/coma
* One-year pre-index laboratory evidence of diabetes mellitus (DM) including hemoglobin A1c ≥6.5% (≥48 millimoles/mol \[mmol/mol\]), fasting glucose ≥126 milligrams/deciliter (mg/dL) (≥7 mmol/liter \[L\]), or random glucose or 2-hour glucose measurement from a 2-hour oral glucose tolerance test ≥200 mg/dL (≥11.1 mmol/L)
* Use of DM therapy in the three months before index. Note that semaglutide is allowed pre-index for Cohort 4
Cohort 2 (history of T2DM is an inclusion criterion):
* One-year pre-index history of T1DM, DM due to underlying condition, drug or chemical induced DM, other specified, diabetic ketoacidosis or hyperosmolar state/coma
* One-year pre-index history of T2DM with hypoglycemia with coma or T2DM with hypoglycemia without coma and use of hypoglycemia treatment
* Use of dipeptidyl peptidase-4 inhibitors, insulin, amylin, semaglutide and/or tirzepatide in the three months before index
All Cohorts:
* Three-month pre-index initiation of medications strongly associated with weight gain
* One-year chronic treatment (that is, treatment \>2 times at least 30 days apart) with medications that strongly affect gastrointestinal motility
* One-year pre-index diagnosis of multiple endocrine neoplasia Type 2 or medullary thyroid cancer
* One-year pre-index diagnosis of chronic or acute pancreatitis. Prospective participants will not be excluded when they have chronic or acute pancreatitis in combination with all of the following: diagnosis of cholecystitis; cholecystectomy; no diagnosis of cholelithiasis (gallstones) after cholecystectomy
* One-year pre-index diagnosis of gastric-emptying abnormalities
* One-year pre-index diagnosis of severe major depressive disorder/episode and disruptive mood disorders (except in remission)
Note: Other protocol-specified criteria may apply.