In gynecology, opioids are often prescribed for managing acute pain post-surgery, such as after a hysterectomy or cesarean section (C-section). They may also be prescribed for chronic pelvic pain, endometriosis, and other gynecologic conditions. However, the risk of dependency and overdose is a significant concern.