Semaglutide is a medication originally developed for the treatment of type 2 diabetes. However, it has been approved by the FDA as a prescription weight loss medication under the brand name Wegovy.