Most cnidarians are dipoblastic, which means that they are composed of only two layers of cells. The outer layer is known as the ectoderm or epidermis, and the inner layer is known as the endoderm or gastrodermis. These layers contain the nerve nets that control the muscular and sensory functions of the animal. Between these layers is a jelly-like noncellular substance known as mesoglea, which in true jellyfish constitute the vast bulk of the animal (hence their common name). In other species, the mesoglea may be nearly absent. All cnidarians have a single opening into the body which acts as both the mouth and anus, taking in food and expelling waste. In most species the mouth is lined with tentacles which act to capture food. The mouth leads to a body cavity known as the coelenteron, where the food is digested. This body cavity has given this phylum its other, less commonly used, name of Coelenterata.
Cnidarians have a complex life cycle that, depending on the species, may alternate between two forms. The first form is known as a polyp, which is sessile (anchored to one spot). The polyps are tubular in shape, with the mouth, often lined with tentacles, facing upwards. The bodies often contain a type of skeleton that may surround the tissues (exoskeleton) or be surrounded by the tissues (endoskeleton). These skeletons may be composed of minerals like calcium carbonate, and/or may consist of organic material such as chitin. Polyps also have a hydrostatic skeleton, where the muscles in the endoderm work against the fluid contained in the coelenterons, thus extending the polyps. Hydrostatic skeletons are also present in the tentacles, allowing them to be extended to capture food.