Amphibians are ectothermic, tetrapod vertebrates of the class Amphibia. They inhabit a wide variety of habitats with most species living within terrestrial, fossorial, arboreal or freshwater aquatic ecosystems. Amphibians typically start out as larva living in water, but some species have developed behavioural adaptations to bypass this. The young generally undergo metamorphosis from larva with gills to an adult air-breathing form with lungs.