Both of these medications are the same drug, semaglutide, but the brand Ozempic is used to treat those with type 2 diabetes while Wegovy is for those who are overweight or obese. Semaglutide belongs to a class of type 2 diabetes medications called glucagon-like peptide-1 agonists (GLP-1).