Only three types of insects throughout the course of evolutionary time have developed agricultural systems with fungi. Leafcutter ants, fungus-growing termites, and a group of tiny beetles that exist hidden, behind the bark of trees. All three form dependent mutualisms with several species of fungus. These insects utilize fungi to break down nutrient poor substrate like wood, into easily digestible carbohydrates, and other macronutrients like sterols, nitrogen and phosphorus. In return, fungal spores hitch a ride to another area of suitable substrate, where they can grow again. This is a common reoccurring pattern in nature, as one partner offers efficient dispersal while the other provides food.

There are two types of beetle that cultivate fungi. Bark beetles, which make up 3700 of the 7500 species within the subfamily Scolytinae, and the 3400 ambrosia beetle species. The remaining 400 species within the Scolytinae are seed and pith feeders that we know little about. Bark beetles bore into the outer phloem tissue of trees where they feed on a combination of plant and fungal tissue while ambrosia beetles bore deep into sapwood, where they grow and feed exclusively on their fungal partner. The areas of excavated wood which become colonized by fungus are called galleries. Eggs that make it to the larval stage not only depend on these galleries for sustenance, but their mothers for the health of these fungal galleries.