The engineering and defensive skills of red wood ants help the endangered species ... The larvae spin their own cocoons, and female workers care for them as they mature into pupae.