The most common body plans for large mobile animals fall into a group called the Bilateria. They include -- annelids, arthropods, chordates (vertebrates), echinoderms, mollusks. All have a cavity known as a coelom -- presumably inherited from a common ancestor. They are divided into two groups based on whether the first opening in the coelom cell wall during development of the animal becomes the anus or the mouth. In Protostomes, the opening becomes the mouth. Protostomes include annelids, arthropods and mollusks. In Deuterostomes, the opening becomes the anus. Chordates and echinoderms are Deuterostomes.
The coelom may be subdivided into "subcavities" such as the pericardial cavity around the heart. The number and placement of these divisions are useful in the classification of, for example, the vertebrates.
These relatively obscure details are important to evolutionary theory. It is presumed that the bilateria evolved from a single common ancestor, and that the division between protostomes and deuterostomes represents an early step in that evolution. Since fossil evidence from that remote period is fragmentary and not always helpful, the analysis of animal development provides additional clues to the evolution of multi-celled animals. The origin of the coelom is unknown. It has been proposed that it developed within a group of organisms known as acoelomates via some members of another group known as "pseudocoelomates". Alternatively, it is thought that the coelom may have evolved from gastric pouches ("stomachs" sort of) in cnidarians.
See http://www.gwu.edu/~darwin/BiSc151/Coelom/Coelom.html for a discussion in greater depth including diagrams.