 More recent research, however, shows that in protostomes the edges of the slit-like blastopore close up in the middle, leaving openings at both ends that become the mouth and anus.Apart from sponges and placozoans, almost all animals have an internal gut cavity which is lined with gastrodermal cells.In less advanced invertebrates such as the sea anemone, the mouth also acts as an anus.