Sponges constitute the phylum Porifera, and have been defined as sessile metazoans (multi-celled animals) that have water intake and outlet openings connected by chambers lined with choanocytes, cells with whip-like flagella. However, a few carnivorous sponges have lost these water flow systems and the choanocytes.[2] All known living sponges can remold their bodies, as most types of their cells can move within their bodies and a few can change from one type to another.[2][3] Like cnidarians (jellyfish, etc.) and ctenophores (comb jellies), and unlike all other known metazoans, sponges' bodies consist of a non-living jelly-like mass sandwiched between two main layers of cells.[4][5] Cnidarians and ctenophores have simple nervous systems, and their cell layers are bound by internal connections and by being mounted on a basement membrane (thin fibrous mat, also known as "basal lamina").[5] Sponges have no nervous systems, their middle jelly-like layers have large and varied populations of cells, and some types of cell in their outer layers may move into the middle layer and change their functions Cnidaria ( /na??d?ri?/ with a silent c) or Coelenterata is a phylum containing over 10,000[4] species of animals found exclusively in aquatic and mostly marine environments. Their distinguishing feature is cnidocytes, specialized cells that they use mainly for capturing prey. Their bodies consist of mesoglea, a non-living jelly-like substance, sandwiched between two layers of epithelium that are mostly one cell thick. They have two basic body forms: swimming medusae and sessile polyps, both of which are radially symmetrical with mouths surrounded by tentacles that bear cnidocytes. Both forms have a single orifice and body cavity that are used for digestion and respiration. Many cnidarian species produce colonies that are single organisms composed of medusa-like or polyp-like zooids, or both. Cnidarians' activities are coordinated by a decentralized nerve net and simple receptors. Several free-swimming Cubozoa and Scyphozoa possess balance-sensing statocysts, and some have simple eyes. Not all cnidarians reproduce sexually. Many have complex lifecycles with asexual polyp stages and sexual medusae, but some omit either the polyp or the medusa stage. Cnidarians were for a long time grouped with Ctenophores in the phylum Coelenterata, but increasing awareness of their differences caused them to be placed in separate phyla. Cnidarians are classified into four main groups: the almost wholly sessile Anthozoa (sea anemones, corals, sea pens); swimming Scyphozoa (jellyfish); Cubozoa (box jellies); and Hydrozoa, a diverse group that includes all the freshwater cnidarians as well as many marine forms, and has both sessile members such as Hydra and colonial swimmers such as the Portuguese Man o' War. Staurozoa have recently been recognised as a class in their own right rather than a sub-group of Scyphozoa, and there is debate about whether Myxozoa and Polypodiozoa are cnidarians or closer to bilaterians (more complex animals). Most cnidarians prey on organisms ranging in size from plankton to animals several times larger than themselves, but many obtain much of their nutrition from endosymbiotic algae, and a few are parasites. Many are preyed upon by other animals including starfish, sea slugs, fish and turtles. Coral reefs, whose polyps are rich in endosymbiotic algae, support some of the world's most productive ecosystems, and protect vegetation in tidal zones and on shorelines from strong currents and tides. While corals are almost entirely restricted to warm, shallow marine waters, other cnidarians live in the depths, in polar seas and in freshwater. Fossil cnidarians have been found in rocks formed about 580 million years ago, and other fossils show that corals may have been present shortly before 490 million years ago and diversified a few million years later. Fossils of cnidarians that do not build mineralized structures are very rare. Scientists currently think that cnidarians, ctenophores and bilaterians are more closely related to calcareous sponges than these are to other sponges, and that anthozoans are the evolutionary "aunts" or "sisters" of other cnidarians, and the most closely related to bilaterians. Recent analyses have concluded that cnidarians, although considered more "primitive" than bilaterians, have a wider range of genes.