The gastropod shell is part of the body of a gastropod or snail, a kind of mollusc. The shell is an exoskeleton, which protects from predators, mechanical damage, and dehydration, but also serves for muscle attachment and calcium storage. Some gastropods appear shell-less (slugs) but may have a remnant within the mantle, or in some cases the shell is reduced such that the body cannot be retracted within it (semi-slug). Some snails also possess an operculum that seals the opening of the shell, known as the aperture, which provides further protection. The study of mollusc shells is known as conchology. The biological study of gastropods, and other molluscs in general, is malacology. Shell morphology terms vary by species group. Shell layers The gastropod shell has three major layers secreted by the mantle. The calcareous central layer, tracum, is typically made of calcium carbonate precipitated into an organic matrix known as conchiolin. The outermost layer is the periostracum which is resistant to abrasion and provides most shell coloration. The body of the snail contacts the innermost smooth layer that may be composed of mother-of-pearl or shell nacre, a dense horizontally packed form of conchiolin, which is layered upon the periostracum as the snail grows. Morphology Gastropod shell morphology is usually quite constant among individuals of a species. Controlling variables are: The rate of growth per revolution around the coiling axis. High rates give wide-mouthed forms such as the abalone, low rates give highly coiled forms such as Turritella or some of the Planorbidae. The shape of the generating curve, roughly equivalent to the shape of the aperture. It may be round, for instance in the turban shell, elongate as in the cone shell or have an irregular shape with a siphonal canal extension, as in the Murex. The rate of translation of the generating curve along the axis of coiling, controlling how high-spired the resulting shell becomes. This may range from zero, a flat planispiral shell, to nearly the diameter of the aperture. Irregularities or "sculpturing" such as ribs, spines, knobs, and varices made by the snail regularly changing the shape of the generating curve during the course of growth, for instance in the many species of Murex. Ontologic growth changes as the animal reaches adulthood. Good examples are the flaring lip of the adult conch and the inward-coiled lip of the cowry. Some of these factors can be modelled mathematically