Ozempic is a prescription-only injectable medication containing the active ingredient semaglutide, primarily used to treat adults with type 2 diabetes to improve blood sugar control. It is also approved to reduce the risk of major cardiovascular events (like heart attack or stroke) in adults with both type 2 diabetes and known heart disease.