The ootheca protects the eggs from microorganisms, parasitoids, predators, and weather; the ootheca maintains a stable water balance through variation in its surface, as it is porous in dry climates to protect against desiccation, and smooth in wet climates to protect against oversaturation.[8][9] Its composition and appearance vary depending on species and environment.[9][3][4]