If a fish tries to eat a sponge, the sponge reacts by dislocating it's intestines from it's anus and spitting out all it's innards, including it's brain. The fish then no longer finds the sponge edible, and the sponge regrows it's insides.