Because the lesser sciatic foramen is positioned below the attachment of the pelvic floor, it acts as a route of communication between the perineum and the gluteal region. The pudendal nerve and internal pudendal vessels pass between the pelvic cavity (above the pelvic floor) and the perineum (below the pelvic floor), by first passing out of the pelvic cavity through the greater sciatic foramen and then looping around the ischial spine and sacrospinous ligament to pass through the lesser sciatic foramen to enter the perineum. The nerve to obturator internus follows a similar course.