Deep fascia usually consists of dense, organized connective tissue. The outer layer of deep fascia is attached to the deep surface of the superficial fascia and forms a thin fibrous covering over most of the deeper region of the body. Inward extensions of this fascial layer form intermuscular septa that compartmentalize groups of muscles with similar functions and innervations. Other extensions surround individual muscles and groups of vessels and nerves, forming an investing fascia. Near some joints the deep fascia thickens, forming retinacula. These fascial retinacula hold tendons in place and prevent them from bowing during movements at the joints. Finally, there is a layer of deep fascia separating the membrane lining the abdominal cavity (the parietal peritoneum) from the fascia covering the deep surface of the muscles of the abdominal wall (the transversalis fascia). This layer is referred to as extraperitoneal fascia. A similar layer of fascia in the thorax is termed the endothoracic fascia.