Ozempic is a brand name for the medication semaglutide, which belongs to a class of…