The body region lying between the genital area and the anus on the surface of the trunk, and to the shallow compartment lying deep to this area that is inferior to the pelvic diaphragm. The surface area is between the vulva and the anus in the female, and between the scrotum and the anus in the male.