The answer should be a cnidarian, because it has a gut. Sponges do not have guts. They, however, have hollow central cavity, but a cnidarian also has a central cavity (gastrovascular cavity) that is, again, hollow.
Both animals arr invertebrates and live in shallow salt water.