In the context of gynecology, EMG is primarily used to diagnose and assess pelvic floor disorders. These disorders can include conditions such as pelvic organ prolapse, urinary incontinence, and chronic pelvic pain. EMG helps in understanding the function of the pelvic floor muscles, which can guide treatment decisions.