Habitats are generally classified into two categories: aquatic and terrestrial.
Aquatic habitats include all types of water bodies such as oceans, rivers, lakes, ponds, and wetlands. These habitats are characterized by their water-based environment, which can vary in temperature, salinity, and depth. Aquatic habitats are home to a diverse range of plant and animal species that have adapted to living in water.
Terrestrial habitats include all land-based environments such as deserts, forests, grasslands, tundra, and mountains. These habitats are characterized by their soil-based environment, which can vary in temperature, moisture, and nutrient content. Terrestrial habitats are home to a wide range of plant and animal species that have adapted to living on land.
Therefore, the correct answer is option B: aquatic and terrestrial.