The shape and appearance of each coral colony depends not only on the species, but also on its location, depth, the amount of water movement and other factors. Many shallow-water corals contain symbiont unicellular organisms known as zooxanthellae within their tissues. These give their colour to the coral which thus may vary in hue depending on what species of symbiont it contains. Stony corals are closely related to sea anemones, and like them are armed with stinging cells known as cnidocytes. Corals reproduce both sexually and asexually. Most species release gametes into the sea where fertilisation takes place, and the planula larvae drift as part of the plankton, but a few species brood their eggs. Asexual reproduction is mostly by fragmentation, when part of a colony becomes detached and reattaches elsewhere.