Levator ani
The levator ani is a broad, thin muscle group, situated on either side of the pelvis. It is formed from three muscle components: the pubococcygeus, the iliococcygeus, and the puborectalis. It is attached to the inner surface of each side of the lesser pelvis, and these unite to form the greater part of the pelvic floor. The coccygeus muscle completes the pelvic floor, which is also called the "pelvic diaphragm". It supports the viscera in the pelvic cavity, and surrounds the various structures that pass through it. The levator ani is the main pelvic floor muscle and painfully  contracts during vaginismus. It also contracts rhythmically during orgasm. Structure. The levator ani is made up of 3 parts: The iliococcygeus arises from the inner side of the ischium (the lower and back part of the hip bone) and from the posterior part of the tendinous arch of the obturator fascia, and is attached to the coccyx and anococcygeal body; it is usually thin, and may be absent, or be largely replaced by fibrous tissue. An accessory slip at its posterior part is sometimes named the "iliosacralis". The pubococcygeus muscle has medial fibres forming the pubovaginalis in the female, and  the puboprostaticus in the male. Origin and insertion. The levator ani arises, in front, from the posterior surface of the superior pubic ramus lateral to the symphysis; behind, from the inner surface of the spine of the ischium; and between these two points, from the obturator fascia. Posteriorly, this fascial origin corresponds, more or less closely, with the tendinous arch of the pelvic fascia, but in front, the muscle arises from the fascia at a varying distance above the arch, in some cases reaching nearly as high as the canal for the obturator vessels and nerve. The fibers pass downward  and backward to the middle line of the floor of the pelvis; the most posterior are inserted into the side of the last two segments of the coccyx; those placed more anteriorly unite with the muscle of the opposite side, in a median fibrous ridge called the anococcygeal body or raphe, which extends between the coccyx and the margin of the anus. The middle fibers are inserted into the side of the rectum, blending with the fibers of the sphincter muscles; lastly in the male, the anterior fibers descend upon the side of the prostate to unite beneath it with  the muscle of the opposite side, joining with the fibers of the external anal sphincter and transverse perineal muscles, at the central tendinous point of the perineum. The anterior portion is occasionally separated from the rest of the muscle by connective tissue. From this circumstance, as well as from its peculiar relation with the prostate, which it supports as in a sling, it has been described as a distinct muscle, under the name of "levator prostatæ". In the female the anterior fibers of the levator ani descend upon the side of the vagina. Innervation. The levator ani muscles are mostly  innervated by the pudendal nerve, perineal nerve and acting together. Variation. In addition, sacral spinal nerves (S3, S4) innervate the muscles directly as well (in ~70% of people). Sometimes (in ~40% of people) the inferior rectal nerve innervates the levator ani muscles independently of the pudendal nerve. Pubococcygeus muscle. The pubococcygeus muscle or PC muscle is a hammock-like muscle, found in both sexes, that stretches from the pubic bone to the coccyx (tail bone) forming the floor of the pelvic cavity and supporting the pelvic organs. Structure. The pubococcygeus arises from the back of the pubis and from the  anterior part of the obturator fascia, and is directed backward almost horizontally along the side of the anal canal toward the coccyx and sacrum, to which it finds attachment. Between the termination of the vertebral column and the anus, the two pubococcygeus muscles come together and form a thick, fibromuscular layer lying on the raphe (ridge) or (anococcygeal body) formed by the iliococcygei. The greater part of this muscle is inserted into the coccyx and into the last one or two pieces of the sacrum. Variation. This insertion into the vertebral column is, however, not accepted by all observers. Function . The pubococcygeus muscle controls urine flow and contracts during orgasm as well as assisting in male ejaculation. It also aids in childbirth as well as core stability. A strong pubococcygeus muscle has also been linked to a reduction in urinary incontinence and proper positioning of the baby's head during childbirth. Kegel exercises. The Kegel exercises are a series of voluntary contractions of all the perineal muscles. Such movement is done in an effort to strengthen all the striated muscles in the perineum's area. They are often referred to simply as "kegels", named after their founder, Dr. Arnold Kegel . These exercises also serve to contract, among others, the ischiocavernosus, bulbospongiosus, and cremaster muscle in men, as voluntary contraction of the pubococcygeus muscle also engages the cremasteric reflex, which lifts the testicles up, although this does not occur in all men. Kegel exercises have been prescribed to ameliorate erectile dysfunction due to venous leakage and to help men control premature ejaculation and to treat urinary incontinence in both sexes. Puborectalis muscle. The fibers that form a sling looping around the rectum are named the puborectalis. They arise from the lower part of the pubic symphysis, and from the superior fascia  of the urogenital diaphragm. The origin of the puborectalis fibers is at the posterior surface of the pubis while their insertion is at the midline sling posterior to the rectum. The muscle band is innervated by perineal branches of the S3 and S4 nerve roots. They meet with the corresponding fibers of the opposite side around the lower part of the rectum, and form for it a strong sling. Relaxation increases the angle between rectum and anus, allowing defecation in conjunction with relaxation of the internal and external anal sphincters. Levator ani relaxation and rectal emptying is facilitated by anorectal  straightening during squatting. Function. The levator ani muscles are responsible for "wagging" the tail in tailed quadrupeds. These muscles are not as strong in the human, as tail-wagging is more demanding than the support function that the muscles serve in humans. Clinical significance. Levator ani syndrome. Levator ani syndrome is episodic rectal pain caused by spasm of the levator ani muscle.