In addition to its action on the hip joint, the piriformis is an important landmark because it divides the greater sciatic foramen into two regions, one above and one below the piriformis. Vessels and nerves pass between the pelvis and gluteal region by passing through the greater sciatic foramen either above or below the piriformis.