Which of these is a common characteristic of cnidarians?

A. They have four legs.

B. They have tentacles with stinging cells.

C. They live only in the oceans.

D. They live only at the surface of the water.