The pelvic diaphragm is formed by the levator ani and coccygeus muscles on both sides. It separates the pelvis from the perineum. The levator ani has three parts: the pubococcygeus, iliococcygeus, and ischiococcygeus. The pubococcygeus has anterior, middle, and posterior fibers that surround structures like the prostate, vagina, and anus. The levator ani and coccygeus close the pelvic outlet and support pelvic organs. They also help maintain continence during actions like coughing and prevent prolapse. The muscles are innervated by sacral nerves and help with functions