There is no single "main habitat" for all insects. Insects occupy nearly every environment on Earth.
Terrestrial Habitats
Insects live in forests, grasslands, deserts, and mountains, filling countless niches.
Aquatic Habitats
Many insects live in freshwater lakes, rivers, and streams during larval or adult stages. A few, like sea skaters, inhabit marine environments.
Air
Flight allows insects to access resources and explore vast areas, though air is not a traditional habitat.
Insect diversity and adaptability have enabled them to thrive almost everywhere.