Gastropods (/ˈɡæstrəpɒdz/; previously known as Univalves; class Gastropoda /ɡæsˈtrɒpədə/) are a vast and diverse group of invertebrates within the phylum Mollusca, comprising the animals commonly known as snails and slugs. With an estimated 65,000 to 80,000 living species, they form the second-largest animal class after the insects. The fossil record of gastropods extends back to the Late Cambrian. As of 2017, 721 families are recognized—476 extant (some with fossil representatives) and 245 extinct known only from fossils.
Gastropods inhabit an extraordinary range of environments, including marine, freshwater, and terrestrial ecosystems. They occur in gardens, woodlands, deserts, mountains, rivers, lakes, estuaries, mudflats, intertidal zones, the deep sea, hydrothermal vents, and even in parasitic niches.