A book lung is a type of respiration organ used for atmospheric gas exchange present in some arachnids such as scorpions and tetrapulmonates (spiders and whip scorpions). It is a terrestrial adaptation of the book gills seen in aquatic chelicerates such as horseshoe crabs, where the gills are ventral appendages under the abdomen (opisthosoma) arranged into a series of page-like lamellae in order to maximize surface area for diffusion. In arachnids, each of these organs is housed inside an air-filled cavity (atrium) that opens to the surrounding atmosphere through a small opening (spiracle), which provides a controlled environment for respiration.