Not all snails have a shell. There are also some shell-less land snails. (Quite common in the Netherlands, so surely you must know about their existence.)
These snails don't need a shell, because they protect themselves by being poisonous, and making a kind of slime that tastes bad, so predators won't want to eat them.