Not only  mammals but also insects adapted to survive harsh environmental conditions. They evolved from building nests to shaping these massive behemoths they control as a collective consciousness. It serves many purposes going from a walking hive to a dissuasive strike force.