 The carapace is a covering of sheets of exoskeleton that overhang the thorax vertically to fit over the base of the thoracic legs.The carapace encloses two branchial chambers which enclose the gills.The gill surfaces are covered in chitinous cuticle, which is permeable to gases, allowing gas exchange.