Q: Given a scientific passage and an answer, generate a question for the given answer.
Passage: Amphibians are ectothermic vertebrates that divide their time between freshwater and terrestrial habitats. They are the first true tetrapods, or vertebrates with four limbs. Amphibians breathe with gills as larvae and with lungs as adults. They have a three-chambered heart and relatively complex nervous system. Answer: terrestrial habitats
A:
Amphibians are ectothermic vertebrates that divide their time between freshwater and what else?