The gastropods are in origin sea-floor predators, though they did evolve into many other habitats. Many lines living today evolved in the Mesozoic era, taking advantage of the huge supply of food on the sea floor.