Squamellaria plants grow special structures to host the ants they symbiotically rely on for nutrients. Distinct compartments help different ant colonies live peacefully side by side.